© Jeff Dalton 2019
Jeff DaltonGreat Big Agilehttps://doi.org/10.1007/978-1-4842-4206-3_67

67. Test-Driven Development

Jeff Dalton1 
(1)
Waterford, MI, USA
 

Description

Test-driven development (TDD) is an agile technique where a developer will write a basic test case to verify the desired functionality, knowing that it will fail, and then writes the minimum amount of code to pass the test. The developer will then enhance the code to ensure that it meets acceptable performance and coding standards and principles.

Test-driven development brings the most value when used with short sprints, where rapid experimentation is possible.

../images/470826_1_En_67_Chapter/470826_1_En_67_Figa_HTML.jpg

Typical Roles

  • Agile Team

Desired Behaviors

  1. 1.

    Incrementally create test cases and related software that fails initially, but eventually passes each test case. An automated test framework is normally used to encourage efficiency.

     
  2. 2.

    If manual testing is used, save test cases for the future to ensure that changes to the software do not cause unintended defects.

     
  3. 3.

    Use the test case inventory to evaluate requirements changes.

     
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.142.121.153