-
Notifications
You must be signed in to change notification settings - Fork 188
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
Improve handling of frozen VsTest runs #1977
Conversation
da27a28
to
1e27d48
Compare
1e27d48
to
bf69d1c
Compare
Something is really broken in this branch as almost no test coverage is found anymore. Running on FluentAssertions with the following config file: {
"stryker-config":
{
"project": "Src\\FluentAssertions\\FluentAssertions.csproj",
"test-projects": [
"Tests\\FluentAssertions.Specs\\FluentAssertions.Specs.csproj",
"Tests\\FluentAssertions.Equivalency.Specs\\FluentAssertions.Equivalency.Specs.csproj"
],
"reporters": [
"progress",
"html"
],
"verbosity": "info",
"concurrency": 4,
"mutation-level": "Complete"
}
} Running with 1.4.2
Running with 1.5.0
Running with this branch
With only 8 tests, it is fast 😉 but not what I expected |
Thanks for the feedback. It is not clear how the changes could have this effect. |
Could you provide some logs ? I always checked my PRs against NFluent (4K mutants, 1.7K tests) and it works normally. It looks like only one of the test projects was taken into account here. Anyway, I do not think your issue relates to this PR (at this stage). |
To build everything running |
I am comparing the master branch versus this branch, so the differences are only related to this PR, I think? I'm running the tests again to get logs. |
src/Stryker.Core/Stryker.Core/TestRunners/VsTest/VsTestRunner.cs
Outdated
Show resolved
Hide resolved
src/Stryker.Core/Stryker.Core/TestRunners/VsTest/VsTestRunner.cs
Outdated
Show resolved
Hide resolved
…st fails on start
I pushed a new commit with the fix (obviously) as well as some added logic to detect similar condition. |
1375d2f
to
4e9ca67
Compare
src/Stryker.Core/Stryker.Core/TestRunners/VsTest/VsTestRunnerPool.cs
Outdated
Show resolved
Hide resolved
3380fbc
to
f3ce357
Compare
f3ce357
to
8eb3459
Compare
53179ca
to
290f20a
Compare
I discovered that integration testing was no longer effective (incorrect filtering syntax in the pipeline). I have restored them and re established the score base lines (roughly twice as much mutations as before). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
That is... 😶 |
Isn't this becoming a bit of scope creep? |
src/Stryker.DataCollector/Stryker.DataCollector/CoverageCollector.cs
Outdated
Show resolved
Hide resolved
src/Stryker.Core/Stryker.Core/TestRunners/VsTest/VsTestRunnerPool.cs
Outdated
Show resolved
Hide resolved
…tor.cs Co-authored-by: Rouke Broersma <mobrockers@gmail.com>
…ool.cs Co-authored-by: Rouke Broersma <mobrockers@gmail.com>
|
Yes, I understand the priority, but it's not introduced by this change, and like you discovered, already present for a while. Personally I would start fixing the integration tests in a separate PR, resulting also in a separate release note, etc. It's more of a warning, in the end, I'm just a consumer, not a maintainer, just trying to be helpful that you don't get a big ball of mud in changes that are hard to release until the next thing is fixed. |
…m/stryker-mutator/stryker-net into improve_handling_of_frozen_vstest # Conflicts: # src/Stryker.DataCollector/Stryker.DataCollector/CoverageCollector.cs
PR is ready for merge (fixed the problem with the FullFramework test project using an obsolete framework version). |
src/Stryker.Core/Stryker.Core/CoverageAnalysis/CoverageAnalyser.cs
Outdated
Show resolved
Hide resolved
src/Stryker.Core/Stryker.Core/TestRunners/VsTest/VsTestRunner.cs
Outdated
Show resolved
Hide resolved
SonarCloud Quality Gate failed. |
RunAll
method)