Syntax
public abstract System.Threading.Tasks.Task RecordUnitTestAsync(string groupName, string testName, UnitTestStatus testStatus, string testResult, System.DateTimeOffset startTime, System.TimeSpan duration)
Parameters
- groupName
- Type: string
The unit test group.
- testName
- Type: string
The unit test name.
- testStatus
- Type: UnitTestStatus
The result of the unit test as a UnitTestStatus.
- testResult
- Type: string
The result of the unit test as a human-readable string.
- startTime
- Type: System.DateTimeOffset
The time when the unit test started its run.
- duration
- Type: System.TimeSpan
The elapsed time of the unit test run.