Black and White

Black box, white box. Does our choice of perspective matter? We’ve landed this function declaration: public int add(int a, int b); We’re told that it adds two integer numbers. How should we test it? Let’s see, we can check that sending 2 and 3 returns 5. We can also send Read more…

On The Edge

A lot of people use the term “Edge Case”. I find it offensive. Ok, not really, but there’s a misuse of the term. While we’re at it, let’s throw in negative cases, happy and unhappy paths, etc. We tie in “cases”, which are behaviors, together with code paths. It’s a Read more…