how to test or describe endless possibilities?
- by koen
Example class in pseudocode:
class SumCalculator
method calculate(int1, int2) returns int
What is a good way to test this? In other words how should I describe the behavior I need?
test1: canDetermineSumOfTwoIntegers
or
test2: returnsSumOfTwoIntegers
or
test3: knowsFivePlusThreeIsEight
Test1 and Test2 seem vague and it would need to…