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

Seite - 10 - in The Future of Software Quality Assurance

Bild der Seite - 10 -

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

Text der Seite - 10 -

10 S. Amann and E. Jürgens Fig. 6 Feature requestTS-15717: enable deleting account credentials eachoftheroughly6.5ktests(includingunittests, integrationtests,systemtests,and UItests) inourtestsuite.Toobtainthisdata,weaugmentedtheCIenvironmentwith profilers that record test-wise coverage in both the JavaScript code of the frontend andtheJavacodeof thebackendandran theentire test suiteonce,whichtookabout 45min. Based on this data, TIA now determines a list of six tests impacted by the changes: Five regression tests covering parts of the changed code and the new test that camewith the changes.TheentireCI runwith these impacted tests takesabout 1.5min, savingusover96%runtime. Thanks to TIA, only1.5min after committingher changes,our developer learns that the new test (ranked second by TIA) fails. With her changes still fresh in her mind,she investigates theproblemandfixes it inabout10min,committing thenew changesas TS-15717: Fix deletion of external credentials. Since the fix is very local, TIA selects only a single impacted test, namely, the test that previously failed. Therefore, the second CI run takes only about 45s in total.This time all tests pass. Overall, two consecutive CI runs using TIA plus correcting the mistake in between took less time than one executionof our full test suite. Figure 7 illustrates this improvement. 4.2 TestingwithTGA To ensure that all her changes are properly tested, our developer next looks at the test-gaptreemapforherchanges in thecontextofTS-15717.Figure8showshow TGA displays the test coverage recorded in the two previousCI runs. The treemap shows what we call the ticket coverage ofTS-15717: most of the code changes
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