publishTestResults
Last updated
Was this helpful?
Last updated
Was this helpful?
This configuration section contains settings related to publishing test results.
To read more about publishing test results see the page. Please also check the for the publish-test-results
command.
The following example shows the most common options within this section.
testResult
The test result configuration
testResult/filePath
— The path of the test result file (e.g. TRX) file or a folder containing multiple test result files.
treatInconclusiveAs
Maps the Inconclusive test results. Some test execution frameworks report skipped scenarios as Inconclusive, so they should be mapped to another value, e.g. NotExecuted
.
not mapped
publishEmptyResults
Publishes test results even if no matching results found.
false
testRunSettings
testRunSettings/name
— In Zephyr Scale, it sets the Test Cycle name
testRunSettings/description
— In Zephyr Scale, it sets the Test Cycle description
testRunSettings/iteration
— In Zephyr Scale, it sets the Test Cycle iteration
testRunSettings/folder
— In Zephyr Scale, it sets the Test Cycle folder
testRunSettings/version
— In Zephyr Scale, it sets the Test Cycle version
use default settings
testResultSettings
testResultSettings/comment
— In Zephyr Scale, it sets the test result comment
testResultSettings/environment
— In Zephyr Scale, it sets the test result environment
testResultSettings/iteration
— In Zephyr Scale, it sets the test result iteration
testResultSettings/version
— In Zephyr Scale, it sets the test result version
use default settings
{br}
a new line
{env:ENVIRONMENT_VARIABLE_NAME}
The content of the environment variable specified (ENVIRONMENT_VARIABLE_NAME
in this example)
testResult/fileFormat
— The format of the test result file. Please check the page for supported formats. Invoking the publish-test-result
command with ?
as format as command line option will list all supported format as well.
specified as
Specifies additional settings for the created test run. The value can contain .
Specifies additional settings for the created test results. The value can contain .