Class BasicFixture
Used by unit tests that need to know when a test run is started vs. another test execution within the same run.
Implements
Inherited Members
Namespace: Neon.Xunit
Assembly: Neon.Xunit.dll
Syntax
public class BasicFixture : TestFixture, ITestFixture
Remarks
Simply derive your test from this and then call Start(Action)
(passing null
) within your test constructor and examine the result.
Started indicates that the fixture has just
started the first test in the run and AlreadyRunning
is returned for subsequent tests in the run.
Alternatively, you can pass an Action to Start(Action) that performs any required operations when the test fixture is first started.
Constructors
BasicFixture()
Constructs the fixture.
Declaration
public BasicFixture()
Methods
~BasicFixture()
Finalizer.
Declaration
protected ~BasicFixture()