You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To simplify things here's how my mocharc.json file looks like:
{
"color": true,
"ui": "bdd",
"reporter": "xunit",
"reporter-option": ["output=doda.xml"]
}
When I run the test using extester command with --mocha_config //mocharc.json I do see in my console the xunit results format, however the file doda.xml is never created. seems like the code ignore that option.
According to official mochajs starting version 9.1.0 they added the out option of reporter-option as described here: mochajs/mocha#4607
Does anyone make the test results exported into an external file.
I need that support for CI integration.
Thanks in advance,
Eliran
The text was updated successfully, but these errors were encountered:
djelinek
changed the title
[Request] extester ignores output option from mocarc file
[馃殌 Request] extester ignores output option from mocarc file
Oct 17, 2023
Hello,
I have an issue where I referred the extester command to a custom "mocharc" file as described in the following wiki link:
https://github.com/redhat-developer/vscode-extension-tester/wiki/Mocha-Configuration
To simplify things here's how my mocharc.json file looks like:
{
"color": true,
"ui": "bdd",
"reporter": "xunit",
"reporter-option": ["output=doda.xml"]
}
When I run the test using extester command with --mocha_config //mocharc.json I do see in my console the xunit results format, however the file doda.xml is never created. seems like the code ignore that option.
According to official mochajs starting version 9.1.0 they added the out option of reporter-option as described here:
mochajs/mocha#4607
Does anyone make the test results exported into an external file.
I need that support for CI integration.
Thanks in advance,
Eliran
The text was updated successfully, but these errors were encountered: