SSCH63-150 governs unit testing for legacy code and provides best practices for newly developed code.
View SSCH63-150 on armypubs.army.mil
It covers unit-testing concepts, test objectives and benefits, isolated test design, automation, code coverage, and legacy-code best practices. It describes how developers create, execute, and analyze unit tests, including test-driven development and automated testing frameworks.
Applies to: This publication applies to all SSC commands, including SSC-gained Air National Guard, Air Force Reserve Command, and United States Air Force members.
TDD requires the developer to create the unit test first based on the requirement or user story that has been provided. (paragraph 4)
Once executed, each test will result in a pass or failure representing the behavior of the unit with the designed scenario. (paragraph 3)
Errors or issues with the code can be identified and resolved at this point. (paragraph 4)
The unit test needs to run in isolation.
If the unit tests are embedded within the code itself, developers will comment out the unit tests (or remove them altogether) just prior to deployment. (paragraph 5)