stryker-mutator / stryker-net

Mutation testing for .NET core and .NET framework!
https://stryker-mutator.io
Apache License 2.0
1.75k stars 176 forks source link

Remove explicit DOTNET_ROLL_FORWARD policy once integrated in vstest #1998

Closed rouke-broersma closed 1 week ago

rouke-broersma commented 2 years ago

Is your feature request related to a problem? Please describe. We currently set a dotnet roll forward policy through environment variables to make sure vstest can run on later runtimes. The vstst team has implemented this in vstest itself with https://github.com/microsoft/vstest/pull/3561 Note that this won't be available until dotnet7 releases.

Describe the solution you'd like We can remove our explicit roll forward. See: https://github.com/stryker-mutator/stryker-net/blob/556e1aedd1b3179e6b082acf7b7081ea6d6286fc/src/Stryker.Core/Stryker.Core/TestRunners/VsTest/VsTestRunner.cs#L579 This can happen after updating vstest to the version shipped with dotnet7.

rouke-broersma commented 1 week ago

Doesn't seem to work