C#C
C#15mo ago
forge44

✅ Unit Testing in Rider not working

Hello, I've unsuccessfully attempted to use NUnit 3.14 with Net 8.0, and Xunit 2.5.3 with Net 8.0, and Xunit (2.0 or 2.1.0.3179) with Net 4.0, and NUnit 3.5 with Net 4.0 - all respectively shown in this video: https://www.youtube.com/watch?v=PyY5X7ylGOc

I've also tried both with Net 7.0

According to NUnit, Net 4.0 should be compatible with any NUnit underneath 4.3; I'm surprised NUnit 3.5 didn't work with Net 4.0: https://docs.nunit.org/articles/vs-test-adapter/Supported-Frameworks.html
Net 8.0 requires NUnit of at least 4.3.2; but Rider doesn't seem to have an option to use that version of NUnit, or to customize Xunit version; is it as simple as editing the version in the .csproj file?
Was this page helpful?