Web-Books
im Austria-Forum
Austria-Forum
Web-Books
Informatik
The Future of Software Quality Assurance
Seite - 7 -
  • Benutzer
  • Version
    • Vollversion
    • Textversion
  • Sprache
    • Deutsch
    • English - Englisch

Seite - 7 - in The Future of Software Quality Assurance

Bild der Seite - 7 -

Bild der Seite - 7 - in The Future of Software Quality Assurance

Text der Seite - 7 -

Change-Driven Testing 7 Relevant Changes Test-wise Coverage& Runtime Test-Impact Analysis Test Selection Test Prioritization ImpactedTests Orderedby Likelihood to Find a New Mistake Version-Control System Executionof All Tests Fig. 4 Process of the Test-Impact Analysis (TIA). Given a set of changes, TIA selects the impacted tests and orders them by their likelihood to find a new mistake in the changes to computea subset of the entire test suite that identifiesas many mistakesas early aspossible.Theprocessconsistsof twosteps: 1. In theTestSelectionstep,TIAselects the impactedtests, i.e.,all tests thatexecute anychangedmethod,accordingtotherecordedcoverage.Italsoincludesall tests that were added or modified by the change, because it cannot know which parts of the code those tests cover. 2. In theTestPrioritizationstep,TIAorderstheimpactedtestssuchthatallchanges are covered as quickly as possible, to find new mistakes as early as possible. Sincecomputingtheoptimalorderingofthetests is infeasible,TIAusesagreedy heuristic: It selects that testnext,whichcovers themostadditionalchangedcode perexecution time. In a study with twelve software systems [3] we found that the impacted tests selected by TIA find 99.3% of all randomly inserted mistakes that the entire test suite could find. The impacted tests found more than 90% of those mistakes in all studysystemsandeven100%in sevenof them. Inasecondstudywithover100differentsystems[4]wefoundthatTIAidentifies on average over 90% of the mistakes that the entire test suite identifies in only 2% of the execution time of the entire suite. Using TIA is especially beneficial for small and local changes, where test selection results in a small set of tests. This perfectly suits our need to quickly test many incoming changes, which are usually small compared to thecodeof theentire system. 3.2 Test-GapAnalysis Figure 5 depicts the process of the Test-Gap Analysis (TGA). It matches relevant code changes (see Sect.2.1) with the aggregated test coverage (see Sect.2.3) to identify those changes that were not covered by any test. We call these changes test gaps.
zurück zum  Buch The Future of Software Quality Assurance"
The Future of Software Quality Assurance
Titel
The Future of Software Quality Assurance
Autor
Stephan Goericke
Verlag
Springer Nature Switzerland AG
Ort
Cham
Datum
2020
Sprache
englisch
Lizenz
CC BY 4.0
ISBN
978-3-030-29509-7
Abmessungen
15.5 x 24.1 cm
Seiten
276
Kategorie
Informatik
Web-Books
Bibliothek
Datenschutz
Impressum
Austria-Forum
Austria-Forum
Web-Books
The Future of Software Quality Assurance