I have a project in .NET Core and have built tests using xUnit. Now I wanted to run the test in deployment process. What I have done so far:
I used this command in commandline:
dotnet test [project address] ...
it is working but the problem is that this command get the .csproj
file and not the dll
.
I installed and used xunit.runner.console
but its not working with .NET Core projects.
I used dotnet xunit
command, this one also not helped while I cannot give it the dll
it is also using the project folder.
What can I use to run my built test (dont want to build them again), any commandline tools that I can give my test dll
as an input and it runs the test for me.