Closed brendon1982 closed 6 years ago
This issue is specific to dotnet core: turns out types are enumerable on dnc, so the Stringifier attempts to create a string representation of it and linked properties -- ending up trying to stringify the entire app domain. I've added a type-specific Stringify special case (go, go strategies!) which uses the venerable PeanutButter {Type}.PrettyName() extension to get a fully-qualified name for the type.
Issue is resolved in package 1.0.97.
With: DotNetCore 2.0 NUnit 3.9.0 Visual Studio 2017 15.5.1
The following expectation will hang both MS and Resharper test runners (on my machine ;D):
Expect(new Object().GetType()).To.Equal(typeof(Object));