Entry pointsDeclare spies, stubs, fakes and Real, match arguments, and declare non-deterministic members.

Open the Entry points reference →

SpiesWhat Spy entry points return: the real member runs, and the spy records what the code under test does with it.

Open the Spies reference →

StubsWhat Stub entry points return: the member is replaced with the answers your test sets.

Open the Stubs reference →

FakesWhat Fake entry points return: a stored value for a field or property, stored handlers for an event.

Open the Fakes reference →

RecordingsWhat spies, stubs and fakes record of the calls, reads, writes, subscriptions, raises and catches the code under test makes.

Open the Recordings reference →