Constructors
-
Test
Case protected Initializes a new instance of the TestCaseRunner`1 class.Runner`1(`0, IMessage Bus, Exception Aggregator, Cancellation Token Source)
Methods
-
After
Test protectedvirtual This method is called just after ITestCaseStarting is sent, but before any test collections are run. This method should NEVER throw; any exceptions should be placed into the Aggregator.Case Starting Async() -
Before
Test protectedvirtual This method is called just before ITestCaseFinished is sent. This method should NEVER throw; any exceptions should be placed into the Aggregator.Case Finished Async() -
Run
Async() Runs the tests in the test case. -
Run
Test protectedabstract Override this method to run the tests in an individual test method.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 to be run.