Here's a test case problem:
The requirement:
"Formatting is automatically applied to all date fields (dd/mm/yy formatted)"
Here are my findings after a 15 minute test session:
- Formatting is automatically applied when entering dates as
- 12.12.2014
- 12th Dec 2014
- 12 Dec 2014
- 12 December 2014
- 12th December 2014
- 12-12-2014
- 12-DEC-2014
- Formatting is not applied to:
- 12.12.14
- 12122014
- 12th Dec 14
- 12th December 14
- 12/12/14
a) Did the requirement 'pass'?
b) According to some claims, it is best practice to write one positive test case and one negative test case per requirement. What would I have learned by writing and executing two test cases?
c) Some test management tools would report 100% coverage with 1 test case and if it passed, it would say that the requirement passed.
Maybe talking about testing in terms of test cases and of passes and fails isn't useful.