skip to main content
10.1145/2851613.2851778acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

Students' and professionals' perceptions of test-driven development: a focus group study

Published:04 April 2016Publication History

ABSTRACT

We have conducted a qualitative investigation on test-driven development (TDD) with focus groups to develop insights on the opinions of developers using TDD regarding the unintuitive process involved, its claimed effects, as well as the context factors that can facilitate (or hinder) its application. In particular, we conducted two focus group sessions: one with professionals and another with Master students in Computer Science. We used thematic analysis template (TAT) method for identifying patterns, themes, and interpretations in gathered data. We obtained a number of results that can be summarized as follows: (i) applying TDD without knowing advanced unit testing techniques can be difficult; (ii) refactoring (one of the phases of TDD) is not done as often as the process requires; (iii) there is a need for live feedback to let developers understand if TDD is being applied correctly; and (iv) the usefulness of TDD hinges on task and domain to which it is applied to.

References

  1. D. Astels. Test Driven Development: A Practical Guide. Prentice Hall Professional, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Beck. Test Driven Development: By Example. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. A. Causevic, D. Sundmark, and S. Punnekkat. Factors Limiting Industrial Adoption of Test Driven Development: A Systematic Review. In Software Testing, Verification and Validation (ICST), 2011 IEEE Fourth International Conference on, pages 337--346. IEEE, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. D. Fucci and B. Turhan. On the role of tests in test-driven development: a differentiated and partial replication. Empirical Software Engineering, 19(2):277--302, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. A. Geras, M. Smith, and J. Miller. A prototype empirical evaluation of test driven development. In Software Metrics, 2004. Proceedings. 10th International Symposium on, pages 405--416, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. A. Gupta and P. Jalote. An experimental evaluation of the effectiveness and efficiency of the test driven development. In Empirical Software Engineering and Measurement, 2007. ESEM 2007. First International Symposium on, pages 285--294, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. N. King, C. Cassell, and G. Symon. Using templates in the thematic analysis of texts. Essential guide to qualitative methods in organizational research, pages 256--270, 2004.Google ScholarGoogle Scholar
  8. J. Kontio, J. Bragge, and L. Lehtola. The Focus Group Method as an Empirical Tool in Software Engineering. In Guide to Advanced Empirical Software Engineering, chapter 4, pages 93--116. Springer London, London, 2008.Google ScholarGoogle ScholarCross RefCross Ref
  9. J. Kontio, L. Lehtola, and J. Bragge. Using the Focus Group Method in Software Engineering: Obtaining Practitioner and User Experiences. In Proceedings of the International Symposium on Empirical Software Engineering, pages 271--280. IEEE, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. J. Langford and D. McDonagh. Focus Groups: Supporting Effective Product Development. CRC Press, 2003.Google ScholarGoogle Scholar
  11. L. Lehtola and S. Kujala. Requirements Prioritization Challenges in Practice. In Proceedings of International Conference On Product Focused Software Process Improvement, pages 497--508. Springer, 2004.Google ScholarGoogle ScholarCross RefCross Ref
  12. A. Marchenko, P. Abrahamsson, and T. Ihme. Long-term effects of test-driven development A case study. In Proceedings of Internation Confernce on Agile Processes in Software Engineering and Extreme Programming, pages 13--22. Springer, 2009.Google ScholarGoogle ScholarCross RefCross Ref
  13. M. B. Miles and A. M. Huberman. Qualitative data analysis: An expanded sourcebook. Sage, 1994.Google ScholarGoogle Scholar
  14. D. L. Morgan. Focus Groups. Annual Review of Sociology, 22:129--152, 1996.Google ScholarGoogle ScholarCross RefCross Ref
  15. M. Muller and W. Tichy. Case study: extreme programming in a university environment. In Proceedings of the 23rd International Conference on Software Engineering, pages 537--544, May 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. H. Munir, M. Moayyed, and K. Petersen. Considering rigor and relevance when evaluating test driven development: A systematic review. Information and Software Technology, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. J. Nielsen. The Use and Misuse of Focus Groups. IEEE Softw., 14(1):94--95, Jan. 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. M. Pancur, M. Ciglaric, M. Trampus, and T. Vidmar. Towards empirical evaluation of test-driven development in a university environment. In EUROCON 2003. Computer as a Tool. The IEEE Region 8, volume 2, pages 83--86 vol. 2, 2003.Google ScholarGoogle ScholarCross RefCross Ref
  19. Y. Rafique and V. B. Misic. The Effects of Test-Driven Development on External Quality and Productivity: A Meta-Analysis. Software Engineering, IEEE Transactions on, 39(6):835--856, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. I. Salman, A. T. Misirli, and N. Juristo. Are Students Representatives of Professionals in Software Engineering Experiments? In Procedings of International Conference on Software Engineering, pages 666--676, 2015. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. F. Shull, G. Melnik, B. Turhan, L. Layman, M. Diep, and H. Erdogmus. What Do We Know about Test-Driven Development? IEEE Software, 27(6):16--19, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. P. Tahchiev, F. Leme, V. Massol, and G. Gregory. JUnit in action. Manning Publications Co., 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. B. Turhan, L. Layman, M. Diep, H. Erdogmus, and F. Shull. How effective is test-Driven Development. Making Software: What Really Works, and Why We Believe It, pages 207--217, 2010.Google ScholarGoogle Scholar
  24. C. Wohlin, P. Runeson, M. Höst, M. Ohlsson, B. Regnell, and A. Wesslén. Experimentation in Software Engineering. Springer, 2012. Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. Students' and professionals' perceptions of test-driven development: a focus group study

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      SAC '16: Proceedings of the 31st Annual ACM Symposium on Applied Computing
      April 2016
      2360 pages
      ISBN:9781450337397
      DOI:10.1145/2851613

      Copyright © 2016 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 4 April 2016

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      SAC '16 Paper Acceptance Rate252of1,047submissions,24%Overall Acceptance Rate1,650of6,669submissions,25%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader