Constructors
-
Test
Collection protected Initializes a new instance of the TestCollectionRunner`1 class.Runner`1(ITest Collection, IEnumerable<`0>, IMessage Bus, ITest Case Orderer, Exception Aggregator, Cancellation Token Source)
Methods
-
After
Test protectedvirtual This method is called just after ITestCollectionStarting is sent, but before any test classes are run. This method should NEVER throw; any exceptions should be placed into the Aggregator.Collection Starting Async() -
Before
Test protectedvirtual This method is called just before ITestCollectionFinished is sent. This method should NEVER throw; any exceptions should be placed into the Aggregator.Collection Finished Async() -
Run
Async() Runs the tests in the test collection. -
Run
Test protectedabstract Override this method to run the tests in an individual test class.Class Async(ITest Class, IReflection Type Info, IEnumerable<`0>) -
Run
Test protectedvirtual Runs the list of test classes. By default, groups the tests by class and runs them synchronously.Classes Async()
Properties
- Aggregator protected Gets or sets the exception aggregator used to run code and collect exceptions.
-
Cancellation
Token protected Gets or sets the task cancellation token source, used to cancel the test run.Source -
Message
Bus protected Gets or sets the message bus to report run status to. -
Test
Case protected Gets or sets the test case orderer that will be used to decide how to order the test.Orderer -
Test
Cases protected Gets or sets the test cases to be run. -
Test
Collection protected Gets or sets the test collection that contains the tests to be run.