BuildMaster SDK Reference
Version:

RecordResult(string testName, bool testPassed, string testResult, System.DateTime startTime, System.DateTime endTime) Method

Records the test result in BuildMaster.

Syntax

protected void RecordResult(string testName, bool testPassed, string testResult, System.DateTime startTime, System.DateTime endTime)

Parameters

testName
Type: string

The name of the file the test was run against.

testPassed
Type: bool

Value indicating whether the test passed.

testResult
Type: string

The XML (or text) result of the test.

startTime
Type: System.DateTime

The time when the test was started.

endTime
Type: System.DateTime

The time when the test was completed.