On a line that throws an exception, it gets the red circle instead of the red x.
This works correctly with a .net framework 4.6 project
Steps to reproduce:
Create a new console app (net core 2)
Reference xunit 2.3.0 from nuget
Add the test code.
Enable ncrunch.
It looks like ncrunch can't see the pdb or something maybe, as there is no line number for the test code in the ncrunch output.
The pdb is there, this is the contents of the bin/obj dirs in the workspace used for the test:
Quote:
dir .\bin\Debug\netcoreapp2.0\
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 9/10/2017 3:08 PM 3814 HackAppCore.deps.json
-a---- 9/10/2017 3:08 PM 5120 HackAppCore.dll
-a---- 9/10/2017 3:08 PM 15872 HackAppCore.pdb
-a---- 9/10/2017 3:08 PM 234 HackAppCore.runtimeconfig.dev.json
-a---- 9/10/2017 3:08 PM 154 HackAppCore.runtimeconfig.json
-a---- 4/09/2017 4:13 PM 142336 nCrunch.Common.DotNetCore.dll
-a---- 9/10/2017 3:08 PM 13980 nCrunch.TaskRunner.DotNetCore.20.x64.deps.json
-a---- 4/09/2017 4:13 PM 19456 nCrunch.TaskRunner.DotNetCore.20.x64.dll
-a---- 9/10/2017 3:08 PM 195 nCrunch.TaskRunner.DotNetCore.20.x64.runtimeconfig.dev.json
-a---- 9/10/2017 3:08 PM 154 nCrunch.TaskRunner.DotNetCore.20.x64.runtimeconfig.json
-a---- 4/09/2017 4:13 PM 170496 nCrunch.TestExecution.DotNetCore.dll
-a---- 4/09/2017 4:13 PM 16384 nCrunch.TestRuntime.DotNetCore.dll
dir .\obj\Debug\netcoreapp2.0\
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 9/10/2017 3:08 PM 1089 HackAppCore.AssemblyInfo.cs
-a---- 9/10/2017 3:08 PM 42 HackAppCore.AssemblyInfoInputs.cache
-a---- 9/10/2017 3:08 PM 42 HackAppCore.csproj.CoreCompileInputs.cache
-a---- 9/10/2017 3:08 PM 1060 HackAppCore.csproj.FileListAbsolute.txt
-a---- 9/10/2017 3:08 PM 4608 HackAppCore.dll
-a---- 9/10/2017 3:08 PM 11776 HackAppCore.pdb
NCrunch 3.11.0.9, VS 2017
Thanks :)