Currently there are two different ways to run tests through dotnet cli:
$ dotnet test
$ dotnet vstest
According to @Faizan2304 in #637, these are both wrappers for the vstest.console.dll already and should be no real behavior differences between them. (source) As a CI/CD scripter, I want the ability to run tests with the dotnet cli without having to remember the distinction between the two, so that I can go faster and focus on more important details.
My acceptance criteria would be along the lines of:
Stretch goals:
Background:
I am looking into implementing new portions of my organization's CI/CD pipeline for our .NET Core applications. Some of those activities involve running unit and integration tests. I would like the ability to pass in the filename of either a .csproj or a .dll without having to change any other syntax of the dotnet test command.
@ahaleiii Thanks for the suggestion. We don't have any immediate plans for the above.
I have created RFC for above ask and mentioned the issues that need to be addressed.
RFC: https://github.com/microsoft/vstest-docs/pull/196
/cc: @mayankbansal018 @ViktorHofer @cltshivash