Skip to content

E2E.NUnit

API reference

The NUnit runner. Subclass E2ETest to get a session per test.

Type Summary
E2ETest Base class for an NUnit test that drives the app. Setup starts one engine session. Teardown commits the replay cache from the NUnit result: a pass or a skip records verified acts, a failure evicts the unverified ones it recorded or replayed, and a cancelled test leaves the cache alone. The first attempt can replay. [Retry] attempts run live and still record. Each [Repeat] iteration is a first attempt. A check in a derived [TearDown] after a failure verifies nothing. Each Expect.Soft failure is recorded on the NUnit result, as inside Assert.EnterMultipleScope, so the test fails when its body ends and lists every soft failure. A soft failure outranks a skip: Assert.Ignore or Assert.Inconclusive after one fails the test, and the skip reason stays in the message. Settings come from E2EFixture.
PollExpectationExtensions NUnit constraints for Expect.Poll, in place of the upstream value matchers.