• DocumentCode
    1353392
  • Title

    What Do We Know about Test-Driven Development?

  • Author

    Shull, Forrest ; Melnik, G. ; Turhan, Burak ; Layman, Lucas ; Diep, Madeline ; Erdogmus, H.

  • Volume
    27
  • Issue
    6
  • fYear
    2010
  • Firstpage
    16
  • Lastpage
    19
  • Abstract
    What if someone argued that one of your basic conceptions about how to develop software was misguided? What would it take to change your mind? That\´s essentially the dilemma faced by advocates of test-driven development (TDD). The TDD paradigm argues that the basic cycle of developing code and then testing it to make sure it does what it\´s supposed to do-something drilled into most of us from the time we began learning software development- isn\´t the most effective approach. TDD replaces the traditional "code then test" cycle. First, you develop test cases for a small increment of functionality; then you write code that makes those tests run correctly. After each increment, you refactor the code to maintain code quality.
  • Keywords
    program testing; software maintenance; software quality; code development; code quality; code refactoring; software development; test driven development; Software engineering; Testing; software engineering;
  • fLanguage
    English
  • Journal_Title
    Software, IEEE
  • Publisher
    ieee
  • ISSN
    0740-7459
  • Type

    jour

  • DOI
    10.1109/MS.2010.152
  • Filename
    5604358