Constructors
-
Test
Runner`1(ITest, protected Initializes a new instance of the TestRunner`1 class.IMessage Bus, Type, Object[], Method Info, Object[], String, Exception Aggregator, Cancellation Token Source)
Methods
-
After
Test protectedvirtual This method is called just after ITestStarting is sent, but before the test class is created. This method should NEVER throw; any exceptions should be placed into the Aggregator.Starting() -
Before
Test protectedvirtual This method is called just before ITestFinished is sent. This method should NEVER throw; any exceptions should be placed into the Aggregator.Finished() -
Invoke
Test protectedabstract Override this method to invoke the test.Async(Exception Aggregator) -
Run
Async() Runs the test.
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 -
Constructor
Arguments protected Gets or sets the constructor arguments used to construct the test class. -
Display
Name protected Gets or sets the display name of the invoked test. -
Message
Bus protected Gets or sets the message bus to report run status to. -
Skip
Reason protected Gets or sets the skip reason for the test, if set. - Test protected Gets or sets the test to be run.
-
Test
Case protected Gets the test case to be run. -
Test
Class protected Gets or sets the runtime type of the class that contains the test method. -
Test
Method protected Gets or sets the runtime method of the method that contains the test. -
Test
Method protected Gets or sets the arguments to pass to the test method when it's being invoked.Arguments