I want to execute the tests from this R#/Rider plugin within a GitHub Action and therefore I need to run the tests from the CLI. Simply runnning dotnet test
does exactly nothing but building the project.
How can I run tests of a R#/Rider plugin from the CLI so that I can embed this step into a GitHub Action?
Thanks in advance!
Kind of a bug in our template :) It was missing some references to work with the .NET SDK, more specifically these:
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" />
Also in this commit: https://github.com/matkoch/resharper-fluentassertions/commit/42fdd20f5c6168402d09b47a7e9e3baa1cc9852c
One remark here: dotnet test
must be invoked on the solution file (not the test project itself). Otherwise, there was an error about wrong paths. For now, I think that's acceptable.