Closed klemmchr closed 5 years ago
This error should have nothing to do with your test project. Could you run again with --log-console trace
to find more information about what kind of mutation causes this error?
As this output contains the code itself (and therefore sensitive parts) I'm not allowed to post the output here. I may send it to a member privately.
It may not be needed to send parts of the code. If you can create a simple example project that recreates the issue we could work with that.
If you can't recreate the issue you may send the output to my email and I'll look into it.
I've send you a mail.
Thank you, using your output I've been able to reproduce the issue locally.
using System.Threading.Tasks;
namespace Test
{
public class ExampleBug
{
public async Task<(string, string)> ExampleBugMethod()
{
var (one, two) = await ExampleTupleMethod().ConfigureAwait(true);
return (one, two);
}
private async Task<(string one, string two)> ExampleTupleMethod()
{
return ("test1", "test2");
}
}
}
Using var (tuple) seems to cause the issue. This was already known as seen in #125 but was closed without verifiying if the issue was actually fixed.
I'll try to create a PR for this today 👍
Stryker fails to rollback mutations for several nodes.
We have some database integration tests in our unit tests. Maybe this is related to the error. The unit tests arre running fine when using
dotnet test