Summary
Uploads test results XML file to AppVeyor. Results type can be one of the following: mstest, xunit, nunit, nunit3, junit.
Syntax
public void UploadTestResults(FilePath path, AppVeyorTestResultsType resultsType)
Examples
if (BuildSystem.AppVeyor.IsRunningOnAppVeyor)
{
BuildSystem.AppVeyor.UploadTestResults("./test-results.xml", AppVeyorTestResultsType.XUnit);
}
Parameters
| Name |
Type |
Description |
| path |
FilePath |
The file path of the test results XML to upload. |
| resultsType |
AppVeyorTestResultsType |
The results type. Can be mstest, xunit, nunit, nunit3 or junit. |
Return Value