download the podcast
Continued from Test Categories, Part 1
5. Behavior with related boundaries (“and”)
Sometimes a behavior varies based on more than one factor. For example, let’s say that in order for the system to allow someone to be hired (returning a true from the canHire() method, perhaps), the individual in question must both be at least 18 years old and must be a US citizen.
↧