Skip to main content
Erschienen in: Empirical Software Engineering 6/2017

28.12.2016

An industry experiment on the effects of test-driven development on external quality and productivity

verfasst von: Ayse Tosun, Oscar Dieste, Davide Fucci, Sira Vegas, Burak Turhan, Hakan Erdogmus, Adrian Santos, Markku Oivo, Kimmo Toro, Janne Jarvinen, Natalia Juristo

Erschienen in: Empirical Software Engineering | Ausgabe 6/2017

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Existing empirical studies on test-driven development (TDD) report different conclusions about its effects on quality and productivity. Very few of those studies are experiments conducted with software professionals in industry. We aim to analyse the effects of TDD on the external quality of the work done and the productivity of developers in an industrial setting. We conducted an experiment with 24 professionals from three different sites of a software organization. We chose a repeated-measures design, and asked subjects to implement TDD and incremental test last development (ITLD) in two simple tasks and a realistic application close to real-life complexity. To analyse our findings, we applied a repeated-measures general linear model procedure and a linear mixed effects procedure. We did not observe a statistical difference between the quality of the work done by subjects in both treatments. We observed that the subjects are more productive when they implement TDD on a simple task compared to ITLD, but the productivity drops significantly when applying TDD to a complex brownfield task. So, the task complexity significantly obscured the effect of TDD. Further evidence is necessary to conclude whether TDD is better or worse than ITLD in terms of external quality and productivity in an industrial setting. We found that experimental factors such as selection of tasks could dominate the findings in TDD studies.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

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!

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+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!

Literatur
Zurück zum Zitat Aniche M F, Gerosa M A (2010) Most common mistakes in test-driven development practice: results from an online survey with developers. In: Third international conference on software testing, verification and validation workshop Aniche M F, Gerosa M A (2010) Most common mistakes in test-driven development practice: results from an online survey with developers. In: Third international conference on software testing, verification and validation workshop
Zurück zum Zitat Basili V (1992) Software modeling and measurement: the goal/question/metric paradigm. Technical Report CS-TR-2956, UMIACS-TR-92-96, University of Maryland Basili V (1992) Software modeling and measurement: the goal/question/metric paradigm. Technical Report CS-TR-2956, UMIACS-TR-92-96, University of Maryland
Zurück zum Zitat Beck K (2003) Test driven development: by example. Addison Wesley Beck K (2003) Test driven development: by example. Addison Wesley
Zurück zum Zitat Becker K, Pimenta M S, Jacobi R P (2014) Besouro: a framework for exploring compliance rules in automatic tdd behavior assessment. Information and Software Technology Becker K, Pimenta M S, Jacobi R P (2014) Besouro: a framework for exploring compliance rules in automatic tdd behavior assessment. Information and Software Technology
Zurück zum Zitat Bergersen G R, Sjøberg D I K, Dybå T (2014) Construction and validation of an instrument for measuring programming skill. IEEE Trans Softw Eng 40(12):1163–1184CrossRef Bergersen G R, Sjøberg D I K, Dybå T (2014) Construction and validation of an instrument for measuring programming skill. IEEE Trans Softw Eng 40(12):1163–1184CrossRef
Zurück zum Zitat Canfora G, Cimitile A, Garcia F, Piattini M, Visaggio C A (2006) Evaluating advantages of test driven development: a controlled experiment with professionals. In: ISESE, pp 364–371 Canfora G, Cimitile A, Garcia F, Piattini M, Visaggio C A (2006) Evaluating advantages of test driven development: a controlled experiment with professionals. In: ISESE, pp 364–371
Zurück zum Zitat Causevic A, Sundmark D, Punnekkat S (2010) An industrial survey on contemporary aspects of software testing. In: Third IEEE international conference on software testing, verification and validation Causevic A, Sundmark D, Punnekkat S (2010) An industrial survey on contemporary aspects of software testing. In: Third IEEE international conference on software testing, verification and validation
Zurück zum Zitat Causevic A, Sundmark D, Punnekkat S (2011) Factors limiting industrial adoption of test driven development: a systematic review. In: Fourth IEEE international conference on software testing, verification and validation, pp 337–346 Causevic A, Sundmark D, Punnekkat S (2011) Factors limiting industrial adoption of test driven development: a systematic review. In: Fourth IEEE international conference on software testing, verification and validation, pp 337–346
Zurück zum Zitat Coe R (2002) It’s the effect size, stupid: what effect size is and why it is important. In: Annual conference of the British educational research association Coe R (2002) It’s the effect size, stupid: what effect size is and why it is important. In: Annual conference of the British educational research association
Zurück zum Zitat Draper D (2006) Dojo, kata or randori? Draper D (2006) Dojo, kata or randori?
Zurück zum Zitat Ellis P D (2010) The essential guide to effect sizes: power, meta-analysis and the interpretation of research results. Cambrigde Ellis P D (2010) The essential guide to effect sizes: power, meta-analysis and the interpretation of research results. Cambrigde
Zurück zum Zitat Emam K (2003) Finding success in small software projects, agile project management executive report. Technical report, Cutter Consortium, Arlington, Massachusetts Emam K (2003) Finding success in small software projects, agile project management executive report. Technical report, Cutter Consortium, Arlington, Massachusetts
Zurück zum Zitat Erdogmus H, Morisio M, Torchiano M (2005) On the effectiveness of the test-first approach to programming. IEEE Trans Softw Eng 31:226–237CrossRef Erdogmus H, Morisio M, Torchiano M (2005) On the effectiveness of the test-first approach to programming. IEEE Trans Softw Eng 31:226–237CrossRef
Zurück zum Zitat Field A (2007) Discovering statistics using SPSS. Sage Publications Inc Field A (2007) Discovering statistics using SPSS. Sage Publications Inc
Zurück zum Zitat Fucci D, Turhan B (2013) A replicated experiment on the effectiveness of test-first development. In: 2013 ACM / IEEE International symposium on empirical software engineering and measurement, pp 103– 112 Fucci D, Turhan B (2013) A replicated experiment on the effectiveness of test-first development. In: 2013 ACM / IEEE International symposium on empirical software engineering and measurement, pp 103– 112
Zurück zum Zitat Fucci D, Turhan B, Juristo N, Dieste O, Tosun-Misirli A, Oivo M (2015) Towards an operationalization of test-driven development skills: an industrial empirical study. Inf Softw Technol 68:82–97CrossRef Fucci D, Turhan B, Juristo N, Dieste O, Tosun-Misirli A, Oivo M (2015) Towards an operationalization of test-driven development skills: an industrial empirical study. Inf Softw Technol 68:82–97CrossRef
Zurück zum Zitat Fucci D, Turhan B, Oivo M (2014) Impact of process conformance on the effects of test-driven development. In: Proceedings of the 8th ACM/IEEE International symposium on empirical software engineering and measurement. ACM, p 10 Fucci D, Turhan B, Oivo M (2014) Impact of process conformance on the effects of test-driven development. In: Proceedings of the 8th ACM/IEEE International symposium on empirical software engineering and measurement. ACM, p 10
Zurück zum Zitat George B (2002) Analysis and quantification of test driven development approach. Master’s thesis, NC State University George B (2002) Analysis and quantification of test driven development approach. Master’s thesis, NC State University
Zurück zum Zitat George B, Williams L (2003) An initial investigation of test driven development in industry. In: ACM Symposium on applied computing George B, Williams L (2003) An initial investigation of test driven development in industry. In: ACM Symposium on applied computing
Zurück zum Zitat George B, Williams L (2004) A structured experiment of test-driven development. Inf Softw Technol 46(5):337–342. Special issue on software engineering, applications, practices and tools from the {ACM} symposium on applied computing 2003CrossRef George B, Williams L (2004) A structured experiment of test-driven development. Inf Softw Technol 46(5):337–342. Special issue on software engineering, applications, practices and tools from the {ACM} symposium on applied computing 2003CrossRef
Zurück zum Zitat Geras A, Smith M, Miller J (2004) A prototype empirical evaluation of test driven development. In: 10th International symposium on software metrics (METRICS) Geras A, Smith M, Miller J (2004) A prototype empirical evaluation of test driven development. In: 10th International symposium on software metrics (METRICS)
Zurück zum Zitat Ivarsson M, Gorschek T (2011) A method for evaluating rigor and industrial relevance of technology evaluations. Emp Softw Eng 16:365–395CrossRef Ivarsson M, Gorschek T (2011) A method for evaluating rigor and industrial relevance of technology evaluations. Emp Softw Eng 16:365–395CrossRef
Zurück zum Zitat Jedlitschka A, Pfahl D (2005) Reporting guidelines for controlled experiments in software engineering. In: International symposium on empirical software engineering Jedlitschka A, Pfahl D (2005) Reporting guidelines for controlled experiments in software engineering. In: International symposium on empirical software engineering
Zurück zum Zitat Juristo N (2016) Experiences conducting experiments in industry: the eseil fidipro project. In: 4th International workshop on conducting empirical studies in industry. ACM Juristo N (2016) Experiences conducting experiments in industry: the eseil fidipro project. In: 4th International workshop on conducting empirical studies in industry. ACM
Zurück zum Zitat Kampenes V B, Dyba T, Hannay J E, Sjoberg D I (2007) A systematic review of effect size in software engineering experiments. Inf Softw Technol 49(11–12):1073–1086CrossRef Kampenes V B, Dyba T, Hannay J E, Sjoberg D I (2007) A systematic review of effect size in software engineering experiments. Inf Softw Technol 49(11–12):1073–1086CrossRef
Zurück zum Zitat Kim H-Y Y (2013) Statistical notes for clinical researchers: assessing normal distribution (2) using skewness and kurtosis. Restor Dent Endod 38(1):52–54CrossRef Kim H-Y Y (2013) Statistical notes for clinical researchers: assessing normal distribution (2) using skewness and kurtosis. Restor Dent Endod 38(1):52–54CrossRef
Zurück zum Zitat Kollanus S (2010) Test driven development - still a promising approach? In: 7th International conference on the quality of information and communications technology, pp 403–408 Kollanus S (2010) Test driven development - still a promising approach? In: 7th International conference on the quality of information and communications technology, pp 403–408
Zurück zum Zitat Latorre R (2014a) Effects of developer experience on learning and applying unit test-driven development. IEEE Trans Softw Eng 40(4):381–395 Latorre R (2014a) Effects of developer experience on learning and applying unit test-driven development. IEEE Trans Softw Eng 40(4):381–395
Zurück zum Zitat Latorre R (2014b) A successful application of a test-driven development strategy in the industrial environment. Emp Softw Eng 19:753–773 Latorre R (2014b) A successful application of a test-driven development strategy in the industrial environment. Emp Softw Eng 19:753–773
Zurück zum Zitat Madeyski L, Szala L (2007) Lecture notes in computer science, chapter the impact of test-driven development on software development productivity: an empirical study. Springer, pp 200–211 Madeyski L, Szala L (2007) Lecture notes in computer science, chapter the impact of test-driven development on software development productivity: an empirical study. Springer, pp 200–211
Zurück zum Zitat Maximilien E M, Williams L (2003) Assessing test-driven development at ibm. In: International conference on software engineering (ICSE) Maximilien E M, Williams L (2003) Assessing test-driven development at ibm. In: International conference on software engineering (ICSE)
Zurück zum Zitat McCulloch CEC, Searle S (2000) Generalized, linear, and mixed models. Wiley McCulloch CEC, Searle S (2000) Generalized, linear, and mixed models. Wiley
Zurück zum Zitat Munir H, Moayyed M, Petersen K (2014) Considering rigor and relevance when evaluating test driven development: a systematic review. Inf Softw Technol 56:375–394CrossRef Munir H, Moayyed M, Petersen K (2014) Considering rigor and relevance when evaluating test driven development: a systematic review. Inf Softw Technol 56:375–394CrossRef
Zurück zum Zitat Nagappan N, Maximilien E M, Bhat T, Williams L (2008) Realizing quality improvement through test driven development: results and experiences of four industrial teams. Emp Softw Eng 13:289–302CrossRef Nagappan N, Maximilien E M, Bhat T, Williams L (2008) Realizing quality improvement through test driven development: results and experiences of four industrial teams. Emp Softw Eng 13:289–302CrossRef
Zurück zum Zitat Pancur M, Ciglaric (2011) Impact of test-driven development on productivity, code and tests: a controlled experiment. Inf Softw Technol Pancur M, Ciglaric (2011) Impact of test-driven development on productivity, code and tests: a controlled experiment. Inf Softw Technol
Zurück zum Zitat Rafique Y, Misic V B (2013) The effects of test-driven development on external quality and productivity: a meta-analysis. IEEE Trans Softw Eng 39(6):835–856CrossRef Rafique Y, Misic V B (2013) The effects of test-driven development on external quality and productivity: a meta-analysis. IEEE Trans Softw Eng 39(6):835–856CrossRef
Zurück zum Zitat Rodriguez P, Markkula J, Oivo M, Turula K (2012) Survey on agile and lean usage in finnish software industry. In: Six international symposium on empirical software engineering and measurement Rodriguez P, Markkula J, Oivo M, Turula K (2012) Survey on agile and lean usage in finnish software industry. In: Six international symposium on empirical software engineering and measurement
Zurück zum Zitat Salman I, Tosun Misirli A, Juristo N (2015) Are students representatives of professionals in software engineering experiments? In: Proceedings of the 37th international conference on software engineering, vol 1. IEEE Press, pp 666–676 Salman I, Tosun Misirli A, Juristo N (2015) Are students representatives of professionals in software engineering experiments? In: Proceedings of the 37th international conference on software engineering, vol 1. IEEE Press, pp 666–676
Zurück zum Zitat Sanchez J C, Williams L, Maximilien E M (2007) On the sustained use of a test-driven development practice at ibm. In: AGILE conference, pp 5–14 Sanchez J C, Williams L, Maximilien E M (2007) On the sustained use of a test-driven development practice at ibm. In: AGILE conference, pp 5–14
Zurück zum Zitat Shadish W R, Cook T D, Campbell D T (2001) Experimental and quasi-experimental designs for generalized causal inference. Houghton Mifflin Shadish W R, Cook T D, Campbell D T (2001) Experimental and quasi-experimental designs for generalized causal inference. Houghton Mifflin
Zurück zum Zitat Siniaalto M (2006) Test driven development: empirical body of evidence. Technical report, Information Technology for European Advancement, Eindhoven Siniaalto M (2006) Test driven development: empirical body of evidence. Technical report, Information Technology for European Advancement, Eindhoven
Zurück zum Zitat Sjoeberg D I K, Hannay J E, Hansen O, Kampenes V B, Karahasanovic A, Liborg N-K, Rekdal A C (2005) A survey of controlled experiments in software engineering. IEEE Trans Softw Eng 31(9):733– 753CrossRef Sjoeberg D I K, Hannay J E, Hansen O, Kampenes V B, Karahasanovic A, Liborg N-K, Rekdal A C (2005) A survey of controlled experiments in software engineering. IEEE Trans Softw Eng 31(9):733– 753CrossRef
Zurück zum Zitat Still J (2007) Experiences in applying agile software development in f-secure. In: Munch J, Abrahamsson P (eds) Product-focused software process improvement, volume 4589 of lecture notes in computer science. Springer Berlin Heidelberg, pp 3–3 Still J (2007) Experiences in applying agile software development in f-secure. In: Munch J, Abrahamsson P (eds) Product-focused software process improvement, volume 4589 of lecture notes in computer science. Springer Berlin Heidelberg, pp 3–3
Zurück zum Zitat Tosun-Misirli A, Erdogmus H, Juristo N, Dieste O (2014) Topic selection in industry experiments. In: 3rd International workshop on conducting experiments in software industry (CESI) Tosun-Misirli A, Erdogmus H, Juristo N, Dieste O (2014) Topic selection in industry experiments. In: 3rd International workshop on conducting experiments in software industry (CESI)
Zurück zum Zitat Turhan B, Layman L, Diep M, Shull F, Erdogmus H (2010) Making software: what really works, and why we believe it, chapter how effective is test driven development? O’Reilly Press Turhan B, Layman L, Diep M, Shull F, Erdogmus H (2010) Making software: what really works, and why we believe it, chapter how effective is test driven development? O’Reilly Press
Zurück zum Zitat VersionOne (2013) 8th annual state of agile survey. Technical report VersionOne (2013) 8th annual state of agile survey. Technical report
Zurück zum Zitat Williams L, Maximilien EM, Vouk M (2003) Test-driven development as a defect-reduction practice. In: 14th International symposium on software reliability engineering (ISSRE) Williams L, Maximilien EM, Vouk M (2003) Test-driven development as a defect-reduction practice. In: 14th International symposium on software reliability engineering (ISSRE)
Zurück zum Zitat Winer B (1971) Statistical principles in experimental design, 2nd edn. McGraw-Hill Series in Psychology Winer B (1971) Statistical principles in experimental design, 2nd edn. McGraw-Hill Series in Psychology
Zurück zum Zitat Wohlin C, Runeson P, Höst M, Ohlsson M C, Regnell B (2012) Experimentation in software engineering. Springer Wohlin C, Runeson P, Höst M, Ohlsson M C, Regnell B (2012) Experimentation in software engineering. Springer
Metadaten
Titel
An industry experiment on the effects of test-driven development on external quality and productivity
verfasst von
Ayse Tosun
Oscar Dieste
Davide Fucci
Sira Vegas
Burak Turhan
Hakan Erdogmus
Adrian Santos
Markku Oivo
Kimmo Toro
Janne Jarvinen
Natalia Juristo
Publikationsdatum
28.12.2016
Verlag
Springer US
Erschienen in
Empirical Software Engineering / Ausgabe 6/2017
Print ISSN: 1382-3256
Elektronische ISSN: 1573-7616
DOI
https://doi.org/10.1007/s10664-016-9490-0

Weitere Artikel der Ausgabe 6/2017

Empirical Software Engineering 6/2017 Zur Ausgabe

Premium Partner