How to enable Unit Tests Runner's logging in Rider

  1. Go to File | Settings | Build, Execution, Deployment | UnitTesting | Test Runner | Set "Logging Level" to TRACE | Save;
  2. Reproduce the issue;
  3. Collect logs bundle with Help | Collect Logs;
  4. 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.  

1 out of 13 found this helpful
7 comments
Avatar
Permanently deleted user

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).

0

Hello, Jose!

You should enable "Internal Mode" first (step 1), and then "Enable logging" checkbox will appear.

1
Avatar
Permanently deleted user

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)

0

@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. 

0
Avatar
Permanently deleted user

Is this functionality gone from the current (2019.2.2) version again?

0

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.

0

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.

0

Please sign in to leave a comment.

Have more questions?

Submit a request