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

70. Unit Testing

Jeff Dalton1 
(1)
Waterford, MI, USA
 

Description

Unit testing is a technique applied by individual software developers to ensure that the smallest, self-contained pieces of code function as designed and provide the correct results. Because manual unit testing is time and effort intensive, many tools exist to automatically run unit tests based on design elements coded directly within code modules. Continuous Build/Integration tools ensure that code is unit tested with no failures prior to check-in of code.

../images/470826_1_En_70_Chapter/470826_1_En_70_Figa_HTML.jpg

Typical Roles

  • Agile Team

  • Organization (e.g., Infrastructure or Support)

Desired Behaviors

  1. 1.

    Provide the infrastructure and support at the organizational level to implement automated unit testing for each team.

     
  2. 2.

    Create team agreement items related to unit testing all code.

     
  3. 3.

    Ensure that the developers are trained in how to design code to support automated unit testing.

     
  4. 4.

    Ensure that automated testing provides demonstrable value, and improves scripts if it does not.

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

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