Task Descriptor: Run Unit Test
Based on Method Task: Run Unit Test
Relationships
RolesPrimary: Additional: Assisting:
InputsMandatory: Optional:
  • None
External:
  • None
Steps
General
This task consists of running all the unit tests to ensure that software units are still working. If unit test is executed before new code is added (new feature is implemented), then that test results helps programmer to find out what code changes he needs to implement. If test doesn't pass, then programmer fixes code and try to pass test again until tests finally pass. The idea is to write failing test, so it covers some case or new functionality which is not implemented in current code base. A lot of XP teams run those tests on a daily basis as part of their automated daily build. Other teams run those tests every time a new story is added to the pool of completed stories to ensure that a new story has not caused previous ones to fail.
Properties
Predecessor
Multiple Occurrences
Event Driven
Ongoing
Optional
Planned
RepeatableYes