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
And here is the functionality when version 1.16.0 of TestCafe is installed:
PS C:\Project> testcafe --version
Using locally installed version of TestCafe.
1.16.0
PS C:\Project> testcafe --config-file C:\Project\testcafe.config.test.json --reporter xunit
Using locally installed version of TestCafe.
The "reporter" option from the configuration file will be ignored.
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="TestCafe Tests: Firefox 91.0 / Windows 10" tests="1" failures="0" skipped="0" errors="0" time="3.116" timestamp="Thu, 28 Oct 2021 13:27:51 GMT" >
<testcase classname="First Testcafe suite" name="My Test" time="3.101">
</testcase>
</testsuite>
Let's then uninstall TestCafe and install the latest version, and run with the same command again:
PS C:\Project> npm uninstall testcafe
removed 1 package in 2.028s
PS C:\Project> npm install testcafe
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
+ testcafe@1.16.1
updated 3 packages and audited 455 packages in 15.423s
found 0 vulnerabilities
PS C:\Project> testcafe --version
Using locally installed version of TestCafe.
1.16.1
PS C:\Project> testcafe --config-file C:\Project\testcafe.config.test.json
Using locally installed version of TestCafe.
Running tests in:
- Firefox 91.0 / Windows 10
First Testcafe suite
√ User Johnny Boy
1 passed (3s)
As you can see, there is no xunit report in stdout anymore, but the default list reporter is used instead. Functionality is the same when TestCafe is installed globally.
The text was updated successfully, but these errors were encountered:
miherlosev
transferred this issue from DevExpress/testcafe-reporter-xunit
Nov 1, 2021
miherlosev
changed the title
xUnit reporter does not work with TestCafe version 1.16.1
The 'reporter' option from configuration file is not applied
Nov 1, 2021
The reporter works with TestCafe 1.16.0 but not anymore with 1.16.1, with exactly the same configuration.
Here you can see the TestCafe config file used in TestCafe runs:
And here is the functionality when version 1.16.0 of TestCafe is installed:
Let's then uninstall TestCafe and install the latest version, and run with the same command again:
As you can see, there is no xunit report in stdout anymore, but the default list reporter is used instead. Functionality is the same when TestCafe is installed globally.
The text was updated successfully, but these errors were encountered: