nunit / nunit-vs-adapter

Runs NUnit V2 tests inside the Visual Studio 2012 or later Test Explorer window.
MIT License
50 stars 43 forks source link

Getting WorkerId fails in debug #166

Closed botinko closed 6 years ago

botinko commented 6 years ago

Hi!

1, Visual Studio 2017 Version 15.5.2

  1. NUnit test adapter V 3.9 3, Nunit 3.9 (installed via nuget)

When I try to debug test from Test Explorer, getting TestContext.CurrentContext.WorkerId throws null reference exception. When I debug test in Rider or via Resharper in VS, then all is ok.

OsirisTerje commented 6 years ago

You placed this in the NUnit 2 adapter repo, I'll move it to the NUnit3 adapter repo.

Confirmed. I get the same. It seems however, to be an issue in NUnit itself.
image

@rprouse Can you have a look? I'll move this to the NUnit repo.

OsirisTerje commented 6 years ago

Issue moved to nunit/nunit #2696 via ZenHub