-
Notifications
You must be signed in to change notification settings - Fork 9
Troubleshooting
codito edited this page Jun 26, 2024
·
1 revision
Notes on diagnosing logger failures.
Error message: Could not find a test logger with AssemblyQualifiedName, URI or FriendlyName 'xunit'.
Things to check
- Have you added package reference to the test logger nuget package?
- See the contents of test project output folder (
bin/Debug/net8.0
or similar). Does it haveSpekt.Testlogger.dll
or xunit/junit/nunit logger assemblies? - Finally, check the logs. See https://github.com/spekt/testlogger/wiki/Collecting-vstest-logs
Error message: none, there is no message like Results file: ...
at the end of test run
Things to check
- Check the logs if there's an exception from
Spekt*
stacktrace. See https://github.com/spekt/testlogger/wiki/Collecting-vstest-logs