How to run NUnit tests via Microsoft.Testing.Platform (NUnit Runner) in Rider 2025.3?

I've configured my NUnit project with EnableNUnitRunner, TestingPlatformDotnetTestSupport, and NUnit3TestAdapter 5.0.0 to use Microsoft.Testing.Platform. Running via dotnet test correctly uses MTP, but Rider still uses its native NUnit runner (NUnitTestRunnerRunStrategy with ReSharperTestRunner.dll).

Is there a way to make Rider use the Microsoft.Testing.Platform runner for NUnit projects instead of the native runner? I checked Settings > Unit Testing > VSTest but didn't find a relevant option.

Rider version: 2025.3.3

0
1 comment

Hello Sourav, 

Thanks for contacting Rider support. MTP is not fully supported yet in Rider yet. This issue should be related to the root cause of RSRP-498837 Support Microsoft.Testing.Platform tests discovery without Microsoft.NET.Test.Sdk. Currently we have no procise ETA for the fix. You can upvote and subscribe to recieve updates. We will surely update the issue once there is any progress. 

 

Thanks,

Tom

0

Please sign in to leave a comment.