-
Notifications
You must be signed in to change notification settings - Fork 251
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
Small variation in mutation score between coverageAnalysis perTest and all #249
Comments
all:
perTest:
package.json:
Provided a repo via an alternate channel. |
I had some time, so i generated 2 html reports. See attachment: reports.zip An example of differences is in the |
I found what the problem was after a marathon debug session. The bug lies within the The way the Take this small sweat for example: describe('a', () => {
describe('a.b', () => {
it('a.b.0', () => {
});
});
it('a.0', () => {
}
}); In this example the test results would be in this order: This is a major bug. We should fix it asap. |
Select tests in the `MochaTestFramework` based on it's name, rather than the order in which it is added to a test suite. * Change TestFramework interface to now filter based on test `id` and `name`. * Add `TestSelection` which represents a selected test using `id` and `name`. * Update `JasmineTestFramework` to now use the new `TestSelection` format (still based on ID). * Update `MochaTestFramework` to use the title to select tests. Fixes #249 BREAKING CHANGES: * Change api of `TestFramework`. It now provides an array of `TestSelection` objects, instead of an array of numbers with test ids.
reports_different_coverage_analysis.zip I've ran the 3 coverage analysis strategies after the fix of #413 and they work great! See the upload |
Select tests in the `MochaTestFramework` based on it's name, rather than the order in which it is added to a test suite. * Change TestFramework interface to now filter based on test `id` and `name`. * Add `TestSelection` which represents a selected test using `id` and `name`. * Update `JasmineTestFramework` to now use the new `TestSelection` format (still based on ID). * Update `MochaTestFramework` to use the title to select tests. * Add integration tests to both `JasmineTestFramework` and `MochaTestFramework` to prevent this sort of thing from happening in the future. Fixes #249 BREAKING CHANGES: * Change api of `TestFramework`. It now provides an array of `TestSelection` objects, instead of an array of numbers with test ids.
There is a small variation in mutation score between
coverageAnalysis
'perTest'
and'all'
. I cannot explain this right away, we need more investigation.On the master branch:
Per test:
all:
On the "feat-baseline-coverage" branch:
Per test:
all:
The text was updated successfully, but these errors were encountered: