2 ms·
For the best case example design your code with the goal of failure and properly describing failure states for the users benefit. The success state should be a
by austin-cheney 2y ago
For the best case example design your code with the goal of failure and properly describing failure states for the users benefit. The success state should be a narrow exception provided the input is formatted exactly as the specification describes.
This greatly lowers the acceptance criteria to test for and instead forces a greater focus on negative tests and error conditions.