Constructors
-
Test
Assembly protected Initializes a new instance of the TestAssemblyRunner`1 class.Runner`1(ITest Assembly, IEnumerable<`0>, IMessage Sink, IMessage Sink, ITest Framework Execution Options)
Methods
-
After
Test protectedvirtual This method is called just after ITestAssemblyStarting is sent, but before any test collections are run. This method should NEVER throw; any exceptions should be placed into the Aggregator.Assembly Starting Async() -
Before
Test protectedvirtual This method is called just before ITestAssemblyFinished is sent. This method should NEVER throw; any exceptions should be placed into the Aggregator.Assembly Finished Async() -
Create
Message protectedvirtual Creates the message bus to be used for test execution. By default, it inspects the options for the SynchronousMessageReporting flag, and if present, creates a message bus that ensures all messages are delivered on the same thread.Bus() - Dispose() virtual
-
Get
Test protectedabstract Override this to provide the display name for the test framework (f.e., "xUnit.net 2.0"). This value is placed into TestFrameworkDisplayName.Framework Display Name() -
Get
Test protectedvirtual Override this to provide the environment information (f.e., "32-bit .NET 4.0"). This value is placed into TestEnvironment.Framework Environment() -
Order
Test protected Orders the test collections using the TestCollectionOrderer.Collections() -
Run
Async() Runs the tests in the test assembly. -
Run
Test protectedabstract Override this method to run the tests in an individual test collection.Collection Async(IMessage Bus, ITest Collection, IEnumerable<`0>, Cancellation Token Source) -
Run
Test protectedvirtual Runs the list of test collections. By default, groups the tests by collection and runs them synchronously.Collections Async(IMessage Bus, Cancellation Token Source)
Properties
- Aggregator protected Gets or sets the exception aggregator used to run code and collect exceptions.
-
Diagnostic
Message protected Gets or sets the message sink to report diagnostic messages to.Sink -
Execution
Message protected Gets or sets the message sink to report run status to.Sink -
Execution
Options protected Gets or sets the user's requested execution options. -
Test
Assembly protected Gets or sets the assembly that contains the tests to be run. -
Test
Case protected Gets or sets the test case orderer that will be used to decide how to order the tests.Orderer -
Test
Cases protected Gets or sets the test cases to be run. -
Test
Collection protected Gets or sets the test collection orderer that will be used to decide how to order the test collections.Orderer