publishTestResults
This configuration section contains settings related to publishing test results.
To read more about publishing test results see the Publishing test result files page. Please also check the command line reference for the publish-test-results
command.
The following example shows the most common options within this section.
Settings
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.testResult/fileFormat
— The format of the test result file. Please check the Compatibility page for supported formats. Invoking thepublish-test-result
command with?
as format as command line option will list all supported format as well.
specified as command line option
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
testRunSettings
Specifies additional settings for the created test run. The value can contain placeholders.
testRunSettings/name
— In Zephyr Scale, it sets the Test Cycle nametestRunSettings/description
— In Zephyr Scale, it sets the Test Cycle descriptiontestRunSettings/iteration
— In Zephyr Scale, it sets the Test Cycle iterationtestRunSettings/folder
— In Zephyr Scale, it sets the Test Cycle foldertestRunSettings/version
— In Zephyr Scale, it sets the Test Cycle version
use default settings
testResultSettings
Specifies additional settings for the created test results. The value can contain placeholders.
testResultSettings/comment
— In Zephyr Scale, it sets the test result commenttestResultSettings/environment
— In Zephyr Scale, it sets the test result environmenttestResultSettings/iteration
— In Zephyr Scale, it sets the test result iterationtestResultSettings/version
— In Zephyr Scale, it sets the test result version
use default settings
Setting Placeholders
{br}
a new line
{env:ENVIRONMENT_VARIABLE_NAME}
The content of the environment variable specified (ENVIRONMENT_VARIABLE_NAME
in this example)
Last updated