Skip to main content
Top
Published in: Journal of Electronic Testing 3/2020

13-06-2020

Time Complexity Comparison of Stopping at First Failure and Completely Running the Test

Authors: Ongun Yucesan, Altan Ozkil

Published in: Journal of Electronic Testing | Issue 3/2020

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

For a given test set, we compare two test application techniques, “stopping at first failure” and “complete run”, respectively. The former stops the test whenever a failure is encountered. The latter however, carries on till the end. Our comparison concludes that although the first technique is generally faster, there is no strong evidence to support a complete rejection of the second technique for it provides statistics useful in test planning. Results support an interchangeable application of both techniques with more frequent use of stopping at first failure. Even though there are numerous studies to decide how to prioritize and select test cases (TC), or to examine dependencies of TCs and codes, the presented comparison of the two test application techniques for a given “test set” has the potential to reduce the total run time of the test.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Show more products
Literature
1.
go back to reference Andrews JH, Haldar S, Lei Y, Li FCH (2006) Tool support for randomized unit testing. In: Proc. 1st international workshop on random testing. ACM, pp 36–45 Andrews JH, Haldar S, Lei Y, Li FCH (2006) Tool support for randomized unit testing. In: Proc. 1st international workshop on random testing. ACM, pp 36–45
2.
go back to reference Bell J (2014) Detecting, isolating, and enforcing dependencies among and within test cases. In: Proc. 22nd ACM special interest group on software engineering (SIGSOFT) international symposium on foundations of software engineering. ACM, pp 799–802 Bell J (2014) Detecting, isolating, and enforcing dependencies among and within test cases. In: Proc. 22nd ACM special interest group on software engineering (SIGSOFT) international symposium on foundations of software engineering. ACM, pp 799–802
3.
go back to reference Bertolino A (2004) The (im) maturity level of software testing. ACM Special Interest Group on Software Engineering (SIGSOFT) Software Engineering Notes 29(5):1–4CrossRef Bertolino A (2004) The (im) maturity level of software testing. ACM Special Interest Group on Software Engineering (SIGSOFT) Software Engineering Notes 29(5):1–4CrossRef
4.
go back to reference Betta G, Capriglione D, Pietrosanto A, Sommella P (2008) A statistical approach for improving the performance of a testing methodology for measurement software. IEEE Trans Instrum Meas 57(6):1118–1126CrossRef Betta G, Capriglione D, Pietrosanto A, Sommella P (2008) A statistical approach for improving the performance of a testing methodology for measurement software. IEEE Trans Instrum Meas 57(6):1118–1126CrossRef
5.
go back to reference Cormen TH, Stein C, Rivest RL, Leiserson CE (2001) Introduction to algorithms, 2nd edn. McGraw-Hill Higher Education Cormen TH, Stein C, Rivest RL, Leiserson CE (2001) Introduction to algorithms, 2nd edn. McGraw-Hill Higher Education
6.
go back to reference Do H, Mirarab S, Tahvildari L, Rothermel G (2008) An empirical study of the effect of time constraints on the cost-benefits of regression testing. In: Proc. 16th ACM special interest group on software engineering (SIGSOFT) international symposium on foundations of software engineering. ACM, pp 71–82 Do H, Mirarab S, Tahvildari L, Rothermel G (2008) An empirical study of the effect of time constraints on the cost-benefits of regression testing. In: Proc. 16th ACM special interest group on software engineering (SIGSOFT) international symposium on foundations of software engineering. ACM, pp 71–82
7.
go back to reference Elbaum S, Rothermel G, Penix J (2014) Techniques for improving regression testing in continuous integration development environments. In: Proc. 22nd ACM special interest group on software engineering (SIGSOFT) international symposium on foundations of software engineering. ACM, pp 235–245 Elbaum S, Rothermel G, Penix J (2014) Techniques for improving regression testing in continuous integration development environments. In: Proc. 22nd ACM special interest group on software engineering (SIGSOFT) international symposium on foundations of software engineering. ACM, pp 235–245
8.
go back to reference Graf P, Muller-Glaser KD, Reichmann C (2007) Nonintrusive black-and white-box testing of embedded systems software against uml models. In: 2007 18th IEEE/IFIP international workshop on proc. rapid system prototyping 2007 RSP. IEEE, pp 130–138 Graf P, Muller-Glaser KD, Reichmann C (2007) Nonintrusive black-and white-box testing of embedded systems software against uml models. In: 2007 18th IEEE/IFIP international workshop on proc. rapid system prototyping 2007 RSP. IEEE, pp 130–138
9.
go back to reference Harrold MJ, Orso A (2008) Retesting software during development and maintenance. In: Proc. IEEE frontiers of software maintenance (FoSM) (2008). IEEE, pp 99–108 Harrold MJ, Orso A (2008) Retesting software during development and maintenance. In: Proc. IEEE frontiers of software maintenance (FoSM) (2008). IEEE, pp 99–108
10.
go back to reference Hemmati H, Arcuri A, Briand L (2013) Achieving scalable model-based testing through test case diversity. ACM Trans Softw Eng Methodol (TOSEM) 22(1):6CrossRef Hemmati H, Arcuri A, Briand L (2013) Achieving scalable model-based testing through test case diversity. ACM Trans Softw Eng Methodol (TOSEM) 22(1):6CrossRef
11.
go back to reference Henard C, Papadakis M, Harman M, Jia Y, Le Traon Y (2016) Comparing white-box and black-box test prioritization. In: Proc. 38th IEEE/ACM international conference on software engineering (ICSE), 2016. IEEE, pp 523–534 Henard C, Papadakis M, Harman M, Jia Y, Le Traon Y (2016) Comparing white-box and black-box test prioritization. In: Proc. 38th IEEE/ACM international conference on software engineering (ICSE), 2016. IEEE, pp 523–534
12.
go back to reference Lachmann R, Felderer M, Nieke M, Schulze S, Seidl C, Schaefer I (2017) Multi-objective black-box test case selection for system testing. In: Proc. Genetic and evolutionary computation conference. ACM, pp 1311–1318 Lachmann R, Felderer M, Nieke M, Schulze S, Seidl C, Schaefer I (2017) Multi-objective black-box test case selection for system testing. In: Proc. Genetic and evolutionary computation conference. ACM, pp 1311–1318
13.
go back to reference Ledru Y, Petrenko A, Boroday S (2009) Using string distances for test case prioritisation. In: Proc. 2009 IEEE/ACM international conference on automated software engineering. IEEE Computer Society, pp 510–514 Ledru Y, Petrenko A, Boroday S (2009) Using string distances for test case prioritisation. In: Proc. 2009 IEEE/ACM international conference on automated software engineering. IEEE Computer Society, pp 510–514
14.
go back to reference Leitner A, Ciupa I, Oriol M, Meyer B, Fiva A (2007) Contract driven development= test driven development-writing test cases. In: Proc. 6th joint meeting of the european software engineering conference and the ACM special interest group on software engineering (SIGSOFT) symposium on the foundations of software engineering. ACM, pp 425–434 Leitner A, Ciupa I, Oriol M, Meyer B, Fiva A (2007) Contract driven development= test driven development-writing test cases. In: Proc. 6th joint meeting of the european software engineering conference and the ACM special interest group on software engineering (SIGSOFT) symposium on the foundations of software engineering. ACM, pp 425–434
15.
go back to reference Leitner A, Oriol M, Zeller A, Ciupa I, Meyer B (2007) Efficient unit test case minimization. In: Proc. twenty-second IEEE/ACM international conference on automated software engineering. ACM, pp 417–420 Leitner A, Oriol M, Zeller A, Ciupa I, Meyer B (2007) Efficient unit test case minimization. In: Proc. twenty-second IEEE/ACM international conference on automated software engineering. ACM, pp 417–420
16.
go back to reference Parveen T, Tilley S, Gonzalez G (2007) A case study in test management. In: Proc. 45th annual southeast regional conference. ACM, pp 82–87 Parveen T, Tilley S, Gonzalez G (2007) A case study in test management. In: Proc. 45th annual southeast regional conference. ACM, pp 82–87
17.
go back to reference Pinto LS, Sinha S, Orso A (2012) Understanding myths and realities of test-suite evolution. In: Proc. ACM special interest group on software engineering (SIGSOFT) 20th international symposium on the foundations of software engineering. ACM, p 33 Pinto LS, Sinha S, Orso A (2012) Understanding myths and realities of test-suite evolution. In: Proc. ACM special interest group on software engineering (SIGSOFT) 20th international symposium on the foundations of software engineering. ACM, p 33
19.
go back to reference Somé SS, Cheng X (2008) An approach for supporting system-level test scenarios generation from textual use cases. In: Proc. 2008 ACM symposium on applied computing. ACM, pp 724–729 Somé SS, Cheng X (2008) An approach for supporting system-level test scenarios generation from textual use cases. In: Proc. 2008 ACM symposium on applied computing. ACM, pp 724–729
20.
go back to reference Trivedi KS (2001) Probability and statistics with reliability, queuing and computer science applications, 2nd edn. Wiley Trivedi KS (2001) Probability and statistics with reliability, queuing and computer science applications, 2nd edn. Wiley
21.
go back to reference Xie T, Tillmann N, Lakshman P (2016) Advances in unit testing: theory and practice. In: Proc. 2016 IEEE/ACM 38th international conference on software engineering companion (ICSE-C), pp 904–905 Xie T, Tillmann N, Lakshman P (2016) Advances in unit testing: theory and practice. In: Proc. 2016 IEEE/ACM 38th international conference on software engineering companion (ICSE-C), pp 904–905
22.
go back to reference Zheng J, Williams L, Robinson B, Smiley K (2007) Regression test selection for black-box dynamic link library components. In: Proc. Second international workshop on incorporating COTS Software Into Software Systems (IWICSS) tools and techniques, 2007. IEEE, pp 9–9 Zheng J, Williams L, Robinson B, Smiley K (2007) Regression test selection for black-box dynamic link library components. In: Proc. Second international workshop on incorporating COTS Software Into Software Systems (IWICSS) tools and techniques, 2007. IEEE, pp 9–9
23.
go back to reference Zhu H, Hall PA, May JH (1997) Software unit test coverage and adequacy. ACM Comput Surv (CSUR) 29(4):366–427CrossRef Zhu H, Hall PA, May JH (1997) Software unit test coverage and adequacy. ACM Comput Surv (CSUR) 29(4):366–427CrossRef
Metadata
Title
Time Complexity Comparison of Stopping at First Failure and Completely Running the Test
Authors
Ongun Yucesan
Altan Ozkil
Publication date
13-06-2020
Publisher
Springer US
Published in
Journal of Electronic Testing / Issue 3/2020
Print ISSN: 0923-8174
Electronic ISSN: 1573-0727
DOI
https://doi.org/10.1007/s10836-020-05884-3

Other articles of this Issue 3/2020

Journal of Electronic Testing 3/2020 Go to the issue