Slide 46
Slide 46 text
Behaviour Verification: Precision
“Following Einstein, a specification should be as
precise as possible, but not more precise”
-- Mock Roles, not Objects
Find a balance between precision and flexibility.
Greater precision leads to over-specified, brittle
tests.
Allow Queries, expect Commands
Ignore collaborators that are irrelevant for the
current test