-
Notifications
You must be signed in to change notification settings - Fork 339
Closed
Description
Description
Hopefully I am reporting this in the correct place, sorry if not!
Running in either VS2017 or using dotnet test
, the runner hangs indefinitely if the JsonConvert.DefaultSettings
have been set as below:
JsonConvert.DefaultSettings = () => new JsonSerializerSettings
{
ContractResolver = new DefaultContractResolver
{
NamingStrategy = new SnakeCaseNamingStrategy()
}
};
I have tested this using MSTest, Nunit and Xunit and the same issue seems to happen across the board, which leads me to believe its the vstest runner itself.
Steps to reproduce
XUnitTestProject1.zip
Above is a sample project with 2 tests. One which hangs and one which doesn't.
Expected behavior
For the tests to finish running
Actual behavior
Tests never finish running. I have to go and end the dotnet process manually.
Diagnostic logs
Environment
Windows 10, .net core 2.0
erikprat61
Metadata
Metadata
Assignees
Labels
No labels