How to enable Unit Tests Runner's logging in Rider

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

7 comments
Comment actions Permalink

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
Comment actions Permalink

Hello, Jose!

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

1
Comment actions Permalink

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
Comment actions Permalink

@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
Comment actions Permalink

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

0
Comment actions Permalink

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
Comment actions Permalink

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