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
f.ex. google "nunit failed to load" and you will find all kinds of hacks, workarounds and speculations with no definite solution.
today we have few options to attach the debugger to the adapter https://docs.nunit.org/articles/vs-test-adapter/Debugging.html, which requires GUI debugger and symbols to be present. we don't want any of that to find out the "reason" why nunit is failing to "load" "already discovered" tests..
what we need is something like dotnet test -- NUnit.TraceExecution=true so it prints out all kinds of stuff to output stream that adapter is doing and help us spotting (and fixing) the issue. that will help when running tests in headless (no GUI) environments like containers or CI.
f.ex. google "nunit failed to load" and you will find all kinds of hacks, workarounds and speculations with no definite solution.
today we have few options to attach the debugger to the adapter https://docs.nunit.org/articles/vs-test-adapter/Debugging.html, which requires GUI debugger and symbols to be present. we don't want any of that to find out the "reason" why nunit is failing to "load" "already discovered" tests..
what we need is something like
dotnet test -- NUnit.TraceExecution=true
so it prints out all kinds of stuff to output stream that adapter is doing and help us spotting (and fixing) the issue. that will help when running tests in headless (no GUI) environments like containers or CI.the dotnet team has, e.g. COREHOST_TRACE environment variable https://github.com/dotnet/runtime/blob/main/docs/design/features/host-tracing.md#trace-routing which spits out this kind of information.
The text was updated successfully, but these errors were encountered: