Namespace ProtoTest.NUnit

Classes

ProtoTestAssembly

Base class for global assembly setup in NUnit. Initializes, starts, and disposes the root ProtoHost.

ProtoTestAttribute

NUnit test attribute that manages the ProtoExecutionContext lifecycle for each test. The lifecycle is a command wrapper applied outside NUnit's setup and teardown, so it spans [SetUp] and [TearDown], and a skip condition is decided before [SetUp] runs.

ProtoTestAutoWrapAttribute

Opt-in low-ceremony mode: apply this attribute at assembly level and every plain [Test] in the assembly runs inside a ProtoTest execution context, exactly like a test carrying ProtoTestAttribute. NUnit applies the nearest IWrapSetUpTearDown attribute (method, then fixture, then assembly), so a test that already carries ProtoTestAttribute keeps its own wrapper and is never wrapped twice.