Abstract
During the last decade, Test-Driven Development (TDD) has been actively discussed in the software engineering community. It has been regarded as a useful and beneficial software development practice as well in industry as in academia. After a decade of active research, there is still very little critical discussion on TDD in the literature. This paper is based on a literature review and it is focused on identifying and introducing critical viewpoints on TDD. First, the current evidence on TDD’s benefits is still weak and it includes several issues. Second, the paper presents a number of other possible issues and challenges with TDD that are referred in the literature. Finally, based on the findings, a list of concrete research questions for the future research is presented.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Abrahamsson, P., Hanhineva, A., Jäälinoja, J.: Improving Business Agility Through Technical Solutions: A Case Study on Test-Driven Development in Mobile Software Development. In: Business Agility and Information Technology Diffusion. IFIP International Federation for Information Processing, vol. 180, pp. 227–243. Springer, Boston (2006)
Ambler, S.W.: Test-driven development of relational databases. IEEE Software 24(3), 37 (2007)
Astels, D.: Test Driven Development: A Practical Guide. Prentice Hall, Upper Saddle River (2003)
Beck, K.: Aim, fire [test-first coding]. IEEE Software 18(5), 87 (2001)
Beck, K.: Extreme Programming Explained: Embrace Change, 1st edn., p. 224. Addison-Wesley Professional, Reading (1999)
Beck, K.: Test-Driven Development: By Example. The Addison-Wesley Signature Series. Addison-Wesley, Reading (2003)
Bhat, T., Nagappan, N.: Evaluating the efficacy of test-driven development: industrial case studies. In: ISESE 2006: Proceedings of the 2006 ACM/IEEE International Symposium on Empirical Software Engineering, pp. 356–363. ACM, New York (2006)
Boehm, B., Turner, R.: Balancing Agility and Discipline - A Guide for the Perplexed. Addison-Wesley, Reading (2004)
Larman, C., Basili, V.R.: Iterative and incremental developments. a brief history. Computer 36(6), 47–56 (2003)
Canfora, G., Cimitile, A., Garcia, F., Piattini, M., Visaggio, C.A.: Evaluating advantages of test driven development: a controlled experiment with professionals. In: ISESE 2006: Proceedings of the 2006 ACM/IEEE International Symposium on Empirical Software Engineering, pp. 364–371. ACM, New York (2006)
Canfora, G., Cimitile, A., García, F., Piattini, M., Visaggio, C.A.: Productivity of test driven development: A controlled experiment with professionals. In: Münch, J., Vierimaa, M. (eds.) PROFES 2006. LNCS, vol. 4034, pp. 383–388. Springer, Heidelberg (2006)
Crispin, L.: Driving software quality: How test-driven development impacts software quality. IEEE Software 23(6), 70–71 (2006)
Damm, L.-O., Lundberg, L.: Quality impact of introducing component-level test automation and test-driven development. In: Abrahamsson, P., Baddoo, N., Margaria, T., Messnarz, R. (eds.) EuroSPI 2007. LNCS, vol. 4764, pp. 187–199. Springer, Heidelberg (2007)
Desai, C., Janzen, D.S., Clements, J.: Implications of integrating test-driven development into cs1/cs2 curricula. In: SIGCSE 2009: Proceedings of the 40th ACM Technical Symposium on Computer Science Education, pp. 148–152. ACM, New York (2009)
van Deursen, A.: Program comprehension risks and opportunities in extreme programming. In: Proceedings of the Eighth Working Conference on Reverse Engineering (2001)
Deursen, A.V., Moonen, L., Bergh, A., Kok, G.: Refactoring test code. In: Proceedings of the 2nd International Conference on Extreme Programming and Flexible Processes in Software Engineering (XP 2001), pp. 92–95 (2001)
Dybå, T., Dingsøyr, T.: Empirical studies of agile software development: A systematic review. Inf. Softw. Technol. 50, 833–859 (2008), http://portal.acm.org/citation.cfm?id=1379905.1379989
Dybå, T., Dingsøyr, T.: Strength of evidence in systematic reviews in software engineering. In: Proceedings of the Second ACM-IEEE International Symposium on Empirical Software Engineering and Measurement, ESEM 2008, pp. 178–187. ACM, New York (2008), http://doi.acm.org/10.1145/1414004.1414034
Edwards, S.H.: Using test-driven development in the classroom: Providing students with automatic, concrete feedback on performance. In: Proc. Int”l Conf. Education and Information Systems: Technologies and Applications, EISTA 20 03 (2003)
Edwards, S.H.: Using software testing to move students from trial-and-error to reflection-in-action. In: SIGCSE 2004: Proceedings of the 35th SIGCSE Technical Symposium on Computer Science Education, pp. 26–30. ACM, New York (2004)
Erdogmus, H., Morisio, M., Torchiano, M.: On the effectiveness of the test-first approach to programming. IEEE Transactions on Software Engineering 31(3), 226–237 (2005), doi:10.1109/TSE.2005.37
Flohr, T., Schneider, T.: Lessons learned from an XP experiment with students: Test-first needs more teachings. In: Münch, J., Vierimaa, M. (eds.) PROFES 2006. LNCS, vol. 4034, pp. 305–318. Springer, Heidelberg (2006)
George, B., Williams, L.: An initial investigation of test driven development in industry. In: SAC 2003: Proceedings of the 2003 ACM Symposium on Applied Computing, pp. 1135–1139. ACM, New York (2004)
George, B., Williams, L.: A structured experiment of test-driven development. Information and Software Technology 46(5), 337–342 (2004)
Geras, A., Smith, M., Miller, J.: A prototype empirical evaluation of test driven development. In: METRICS 2004: Proceedings of the Software Metrics, 10th International Symposium, pp. 405–416. IEEE Computer Society, Washington, DC, USA (2004)
Grenning, J.: Applying test driven development to embedded software. IEEE Instrumentation Measurement Magazine 10(6), 20–25 (2007)
Gupta, A., Jalote, P.: An experimental evaluation of the effectiveness and efficiency of the test driven development. In: First International Symposium on Empirical Software Engineering and Measurement, ESEM 2007, pp. 285–294 (September 2007)
Hamill, P., Alexander, D., Shasharina, S.: Web service validation enabling test-driven development of service-oriented applications. In: Proceedings of the 2009 Congress on Services - I, pp. 467–470. IEEE Computer Society, Washington, DC, USA (2009), http://portal.acm.org/citation.cfm?id=1590963.1591598
Hedin, G., Bendix, L., Magnusson, B.: Teaching extreme programming to large groups of students. Journal of Systems and Software 74(2), 133–146 (2005)
Huang, L., Holcombe, M.: Empirical investigation towards the effectiveness of test first programming. Information and Software Technology 51(1), 182–194 (2009)
Janzen, D., Saiedian, H.: Does test-driven development really improve software design quality? IEEE Software 25(2), 77–84 (2008)
Janzen, D.S., Saiedian, H.: On the influence of test-driven development on software design. In: CSEET 2006: Proceedings of the 19th Conference on Software Engineering Education & Training, pp. 141–148. IEEE Computer Society, Washington, DC, USA (2006)
Janzen, D.S., Saiedian, H.: A leveled examination of test-driven development acceptance. In: 29th International Conference on Software Engineering, ICSE 2007, pp. 719–722 (May 2007)
Janzen, D.S., Turner, C.S., Saiedian, H.: Empirical software engineering in industry short courses. In: 20th Conference on Software Engineering Education Training, CSEET 2007, pp. 89–96 (July 2007)
Kaufmann, R., Janzen, D.: Implications of test-driven development: a pilot study. In: OOPSLA 2003: Companion of the 18th Annual ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications, pp. 298–299. ACM, New York (2003), doi:10.1145/949344.949421
Kitchenham, B., Charters, S.: Guidelines for performing systematic literature reviews in software engineering. Tech. Rep. EBSE 2007-001, Keele University and Durham University Joint Report (2007), http://www.dur.ac.uk/ebse/resources/Systematic-reviews-5-8.pdf
Kollanus, S.: Test-driven development - still a promising approach? In: Proceedings of the 7th International Conference on the Quality of Information and Communications Technology, pp. 403–408 (2010)
Kollanus, S., Isomöttönen, V.: Test-driven development in education: experiences with critical viewpoints. In: Proceedings of the 13th Annual Conference on Innovation and Technology in Computer Science Education, pp. 124–127. ACM, New York (2008)
Kollanus, S., Isomöttönen, V.: Understanding tdd in academic environment: Experiences from two experiments. In: Pears, A., Malmi, L. (eds.) 8th International Conference on Computing Education Research, Koli Calling 2008, pp. 25–31 (2009)
Lui, K.M., Chan, K.C.: Test driven development and software process improvement in china. In: Extreme Programming and Agile Processes in Software Engineering, pp. 219–222 (2004)
Madeyski, L.: Preliminary analysis of the effects of pair programming and test-driven development on the external code quality. In: Proceeding of the 2005 Conference on Software Engineering: Evolution and Emerging Technologies, pp. 113–123. IOS Press, Amsterdam (2005)
Madeyski, L.: The impact of pair programming and test-driven development on package dependencies in object-oriented design — an experiment. In: Münch, J., Vierimaa, M. (eds.) PROFES 2006. LNCS, vol. 4034, pp. 278–289. Springer, Heidelberg (2006)
Madeyski, L.: The impact of test-first programming on branch coverage and mutation score indicator of unit tests: An experiment. Inf. Softw. Technol. 52(2), 169–184 (2010)
Madeyski, L., Szała, Ł.: The impact of test-driven development on software development productivity — an empirical study. In: Abrahamsson, P., Baddoo, N., Margaria, T., Messnarz, R. (eds.) EuroSPI 2007. LNCS, vol. 4764, pp. 200–211. Springer, Heidelberg (2007)
Maximilien, E.M., Williams, L.: Assessing test-driven development at ibm. In: Proceedings of the 25th International Conference on Software Engineering, pp. 564–569 (May 2003)
Muller, M.M., Hagner, O.: Experiment about test-first programming. Software, IEE Proceedings 149(5), 131–136 (2002)
Nagappan, N., Maximilien, E.M., Bhat, T., Williams, L.: Realizing quality improvement through test driven development: results and experiences of four industrial teams. Empirical Softw. Engg. 13(3), 289–302 (2008)
Pancur, M., Ciglaric, M., Trampus, M., Vidmar, T.: Towards empirical evaluation of test-driven development in a university environment. In: EUROCON 2003. Computer as a Tool. The IEEE Region 8, vol. 2, pp. 83–86 (September 2003)
Rahman, S.M.: Applying the tbc method in introductory programming courses. In: 37th Annual Frontiers In Education Conference - Global Engineering: Knowledge Without Borders, Opportunities Without Passports, FIE, pp. T1E–20–T1E–21 (October 2007)
Rasmussen, J.: Introducing xp into greenfield projects: lessons learned. IEEE Software 20(3), 21–28 (2003)
Rendell, A.: Effective and pragmatic test driven development. In: Conference on AGILE 2008, pp. 298–303 (August 2008)
Sanchez, J.C., Williams, L., Maximilien, E.M.: On the sustained use of a test-driven development practice at ibm. In: AGILE 2007, pp. 5–14 (August 2007)
Sangwan, R.S., Laplante, P.A.: Test-driven development in large projects. IT Professional 8(5), 25–29 (2006)
Siniaalto, M., Abrahamsson, P.: A comparative case study on the impact of test-driven development on program design and test coverage. In: First International Symposium on Empirical Software Engineering and Measurement, ESEM 2007, pp. 275–284 (September 2007)
Siniaalto, M., Abrahamsson, P.: Does test-driven development improve the program code? Alarming results from a comparative case study. In: Meyer, B., Nawrocki, J.R., Walter, B. (eds.) CEE-SET 2007. LNCS, vol. 5082, pp. 143–156. Springer, Heidelberg (2008)
Slyngstad, O.P.N., Li, J., Conradi, R., Rønneberg, H., Landre, E., Wesenberg, H.: The impact of test driven development on the evolution of a reusable framework of components - an industrial case study. In: ICSEA 2008: Proceedings of the 2008 The Third International Conference on Software Engineering Advances, pp. 214–223. IEEE Computer Society, Washington, DC, USA (2008)
Steinberg, D.H.: The effect of unit tests on entry points, coupling and cohesion in an introductory java programming course. In: XP Universe Conference 2001 (2001)
Tinkham, A., Kaner, C.: Experiences teaching a course in programmer testing. In: ADC 2005: Proceedings of the Agile Development Conference, pp. 298–305. IEEE Computer Society, Washington, DC, USA (2005)
Vodde, B., Koskela, L.: Learning test-driven development by counting lines. IEEE Software 24(3), 74–79 (2007)
Vu, J.H., Frojd, N., Shenkel-Therolf, C., Janzen, D.S.: Evaluating test-driven development in an industry-sponsored capstone project. In: Sixth International Conference on Information Technology: New Generations, ITNG 2009, pp. 229–234 (April 2009)
Williams, L., Maximilien, E.M., Vouk, M.: Test-driven development as a defect-reduction practice. In: 14th International Symposium on Software Reliability Engineering, ISSRE 2003, pp. 34–45 (November 2003)
Xu, S., Li, T.: Evaluation of test-driven development: An academic case study. In: Software Engineering Research, Management and Applications 2009. Studies in Computational Intelligence, vol. 253, pp. 229–238 (2009)
Ynchausti, R.A.: Integrating unit testing into a software development team’s process. In: Intl. Conf. eXtreme Programming and Flexible Processes in Software Engineering, pp. 79–83 (2001)
Zhang, L., Akifuji, S., Kawai, K., Morioka, T.: Comparison between test driven development and waterfall development in a small-scale project. In: Abrahamsson, P., Marchesi, M., Succi, G. (eds.) XP 2006. LNCS, vol. 4044, pp. 211–212. Springer, Heidelberg (2006)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2011 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Kollanus, S. (2011). Critical Issues on Test-Driven Development. In: Caivano, D., Oivo, M., Baldassarre, M.T., Visaggio, G. (eds) Product-Focused Software Process Improvement. PROFES 2011. Lecture Notes in Computer Science, vol 6759. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-21843-9_25
Download citation
DOI: https://doi.org/10.1007/978-3-642-21843-9_25
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-21842-2
Online ISBN: 978-3-642-21843-9
eBook Packages: Computer ScienceComputer Science (R0)