-
Notifications
You must be signed in to change notification settings - Fork 0
StateBasedVerification
Ben Christel edited this page Sep 19, 2022
·
2 revisions
State-based verification is a SoftwareTesting technique that involves making Assertions about the State of Objects (usually, probing the state of an object involves calling its Methods). The objects being asserted about may be the SystemUnderTest or Fakes. The technique contrasts with MessageBasedVerification.
MartinFowler uses the term "state verification" here: https://martinfowler.com/articles/mocksArentStubs.html#ChoosingBetweenTheDifferences