BuildMaster SDK Reference
Version:

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

Records the test result in BuildMaster.

Syntax

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

Parameters

testName
Type: string

The name of the file the test was run against.

testStatusCode
Type: string

Value indicating whether the test passed (See Inedo.BuildMaster.Data.Domains.TestStatusCodes).

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.