The Unit Testing Process
Validating each unit of build
Unit testing is a focused validation step in our project lifecycle during which we confirm that each individual story works as designed before it moves into full process testing. It takes place after development is complete and before broader end-to-end validation begins. By isolating and testing one component at a time, we ensure that requirements are accurately built, functionality behaves as expected, and defects are resolved early.
Smooth unit testing relies on clear ownership and collaboration. The roles and responsibilities are as follows:
Test Coordinator
The Test Coordinator manages the overall unit testing process. They track testing tasks, monitor progress, and ensure stories move efficiently through the testing cycle.
Testers
Testing is performed in two rounds to strengthen quality:
- Astrica testers conduct the first round of unit testing. They confirm each unit of functionality behaves as designed.
- Client testers perform a second round of unit testing after Astrica testing passes. This provides an added layer of validation and gives the client team hands-on experience with the solution. It is important to note that this experience supports familiarity but does not replace formal training.
The Unit Testing Process
When executing a unit test, the tester follows the documented test steps and may need to impersonate a specific user role to accurately validate functionality.
If a test fails, the tester:
- Marks the result as failed
- Documents detailed findings, including what occurred, what was expected, and any relevant record numbers
- Assigns the testing task to a developer for remediation
Once the issue is corrected, the task is reassigned to the tester for retesting to confirm resolution.
If a test passes, the tester:
- Marks it as passed
- Assigns the corresponding client unit test to the client tester
- The client tester then repeats the same validation process
Unit testing for a story is complete only when both rounds have successfully passed.