ITestExecutionContext Interface

Namespace
TCLite.Interfaces
graph BT Type["ITestExecutionContext"] class Type type-node

Syntax

public interface ITestExecutionContext

Properties

Name Value Summary
AssertCount int
Gets the assert count.
CurrentCulture CultureInfo
Saves or restores the CurrentCulture
CurrentResult TestResult
Gets or sets the current test result
CurrentTest Test
Gets or sets the current test
CurrentUICulture CultureInfo
Saves or restores the CurrentUICulture
DefaultTolerance Tolerance
RandomGenerator IRandomGenerator
Gets the RandomGenerator specific to this Test
StartTime DateTime
The time the current test started execution
StopOnError bool
Get or set indicator that run should stop on the first error
TestCaseTimeout int
Gets or sets the test case timeout value
TestObject object
The current test object - that is the user fixture object on which tests are being executed.
WorkDirectory string
Get or set the working directory