EP & BVA Practice Assignment
This page contains a simple specification for Equivalence Partitioning and Boundary Value Analysis test design techniques, along with several different implementations of this specification. Implementation 1 is correct, others - not so much. Your goal is to find ON; OFF, OUT, and IN values that will reveal bugs in all of them.
I also explained the idea behind this trainer in my blog post. Please read it after finishing with this execise, it is rather short.
Specification
- Any integer that is greater or equal to -10,000 and less or equal to 10,000 is accepted by the program;
- All negative integers must be stored in a database with other negative integers;
- All positive integers must be stored in a database with other positive integers;
- Zero should not be stored.