You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're calling specific tests programmatically through ITestRunner.Run(). In older versions of NUnit.Engine, the Activity.Current that was started before the Run() call was available in the test, and we use this to pass some data (a TraceId, to be specific).
In the current version, Activity.Current is set to null inside the test, which breaks our implementations.
Please see the attached zip file for a small C# project demonstrating the current, unexpected, behavior: ActivityDebugging.zip
Replacing the packages with these older versions shows the Activity.Current set as expected:
We're calling specific tests programmatically through
ITestRunner.Run()
. In older versions ofNUnit.Engine
, theActivity.Current
that was started before the Run() call was available in the test, and we use this to pass some data (aTraceId
, to be specific).In the current version,
Activity.Current
is set tonull
inside the test, which breaks our implementations.Please see the attached zip file for a small C# project demonstrating the current, unexpected, behavior:
ActivityDebugging.zip
Replacing the packages with these older versions shows the Activity.Current set as expected:
The text was updated successfully, but these errors were encountered: