Allows passing arguments to the test runner #2040
MangelMaxime
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
When writing tests, it is common for me at least to log information in the console. It allows a quick way to debug a problem for example.
Looking online, I found that by default
dotnet test
don't show the log in the console. However, I found that it is possible to pass--logger:"console;verbosity=normal"
to support logging in the console.It makes the output more verbose but at least allows seeing the console output.
Should we make it possible to pass that setting when running test inside of VSCode?
Or perhaps, there is a better way to have access to the console log.
Note: In previous version of VSTest, logging to the console was supported but I believe it was a "bug" and now it is considered bad practice to show log coming from the test code.
Beta Was this translation helpful? Give feedback.
All reactions