Writing unit tests for working on a piece of code is an exciting task that I enjoy.
To accomplish this with ease, for now my junit arsenal has the following approach:
1/ Mathematical Induction
2/ Boundary Value Analysis
3/ Permutation of the variables.
What’s yours?
Care to share?