Skip to content

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.

On Other Wikis

MartinFowler uses the term "state verification" here: https://martinfowler.com/articles/mocksArentStubs.html#ChoosingBetweenTheDifferences

Clone this wiki locally