The CORRECT Way
Explore how to apply the CORRECT acronym to design comprehensive unit tests focused on boundary conditions. Learn to assess conformance, ordering, range, reference, existence, cardinality, and timing in your Java tests. This lesson helps you think critically about what can go wrong in your code and encourages creating targeted test cases for each potential issue to improve test accuracy and coverage.
We'll cover the following...
We'll cover the following...
CORRECT
We got a whiff of the CORRECT acronym earlier in this course, which can help us think about the boundary conditions and consider the following for our unit tests:
- Conformance: Does the value conform to an expected format?