-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skipped tests reported incorrectly under Mocha 8.0+ #116
Comments
Make the "npm run test-versions" script (integration/adapters-run.js) more robust by installing packages in a temporary directory entirely separate from the repository's working directory. Also capture the output of the test runs in a file so that one can easily inspect and find out why a version is failing. This can then be used to report issues upstream (if it's a new version), or to fix something on our end of it is genuine, or to document it in failing-versions.js if it is a known issue with a past release. - qunitjs: Make the list of old versions that are failing complete and document why they fail. - jasmine: Version 2.5.2 and later failed due to a default reporter killing killing the process (again). This needs to be fixed on our side by clearing the default reporters. Fixed as part of this commit since it didn't need a change to the adapter. Version 3.0 and later failed due to randomized order. Disable in our test. - mocha: Version 8.0 and later are currently failing due to skipped tests not being recognised correctly. I've filed #116 to follow up on this in a later commit as it looks like that would require a source change to the adapter.
Make the "npm run test-versions" script (integration/adapters-run.js) more robust by installing packages in a temporary directory entirely separate from the repository's working directory. Also capture the output of the test runs in a file so that one can easily inspect and find out why a version is failing. This can then be used to report issues upstream (if it's a new version), or to fix something on our end of it is genuine, or to document it in failing-versions.js if it is a known issue with a past release. - qunitjs: Make the list of old versions that are failing complete and document why they fail. - jasmine: Version 2.5.2 and later failed due to a default reporter killing killing the process (again). This needs to be fixed on our side by clearing the default reporters. Fixed as part of this commit since it didn't need a change to the adapter. Version 3.0 and later failed due to randomized order. Disable in our test. - mocha: Version 8.0 and later are currently failing due to skipped tests not being recognised correctly. I've filed #116 to follow up on this in a later commit as it looks like that would require a source change to the adapter.
Skipped tests used to have an /cc @js-reporters/mocha Would welcome your recomendation on this matter :) |
Tracked down to mochajs/mocha@8236ffd7494 (mochajs/mocha#4223), which introduced a new state This wasn't mentioned in the changelog for Mocha 8.0.0, but I guess that's fair since the public API has offered |
Re-ran `npm run test-versions` and confirmed compatibility with 8.0 and all versions since. Fixes #116.
Re-ran `npm run test-versions` and confirmed compatibility with 8.0 and all versions since. Fixes #116.
The result of
npm run test-integration
with Mocha 8.0 and later is as follows:log/failed--mocha--8.0.0.log
log/failed--mocha--8.1.3.log
See also:
The text was updated successfully, but these errors were encountered: