Search Documentation by Keyword

Publish-Results

You are here:
← All Topics

Produces a report showing pass/fail status of tests in a standard test results reporting format. Currently supports JUnit.

Syntax

Publish-Results `
    -ReportFolder <string> `
    -TestSuiteName <string> `
    -Results <Object[]> `
    [-ReportFormat <string>]

Parameters

ParameterRDescription
ReportFolder*Points to the folder that should contain the generated report.

Example: -ReportFolder "C:\deltaTest\Results"
TestSuiteName*The name of the test suite. Can be whatever string value you choose.

Example: -TestSuiteName "Load Tests"
Results*An array containing test results objects returned from calls to Test-MedmComponent.

Example: -Results $MyResults
ReportFormatThe desired report format.

Default: "JUnit"

Example: -ReportFormat "JUnit"
×