How to enable Unit Tests Runner's logging in Rider
- Go to File | Settings | Build, Execution, Deployment | UnitTesting | Test Runner | Set "Logging Level" to TRACE | Save;
- Reproduce the issue;
- Collect logs bundle with Help | Collect Logs;
- Share the resulting ZIP archive.
Hint: Don't forget to disable logging at File | Settings | Build, Execution, Deployment | UnitTesting | Test Runner when you don't need it anymore, since gathering log files might affect the performance and disk space.
Please sign in to leave a comment.
Hello...
I just want to point out this information is outdated or wrong.
There is not such a "Enable logging" checkbox in my File | Settings | Build, Execution, Deployment | UnitTesting window. (Ubuntu).
Hello, Jose!
You should enable "Internal Mode" first (step 1), and then "Enable logging" checkbox will appear.
Even in Internal Mode, I do not have an 'Enable logging' checkbox in File | Settings | Build, Execution, Deployment | Unit Testing. (Rider 2018.3.1, Windows)
@Seb, it has been moved to File | Settings | Build, Execution, Deployment | Unit Testing | Test Runner page, I will update the article. Thanks for the comment and apologies for the inconvenience.
Is this functionality gone from the current (2019.2.2) version again?
There is no such thing (even in internal mode) in version: 2019.3 on Windows (Build #RD-193.5233.171, built on December 10, 2019).
Please fix this, logs from unit tests help figuring things out.
I'm using Rider 2022.1.1 and there is no Logging Level selector to set. Now what? The test runner is failing to run or debug my tests, and I thought this post would help.