I am trying to use Nuke to run VSTest as some of my tests are in .Net Framework (not core).
I have a test running succesfully with:
VSTest(@".\test\MyTestProjectFolder\bin\Debug\net47\MyTestProject.dll");
...but I don't like to point into the bin\debug\net47 folder if I don't have to.
I would much prefer to point out the test project source, or even the solution.
Running
VSTest(@".\test\**\*.csproj");
returns an IReadOnlyCollection<Output> containing 9 instances of ? corresponding to my 9 test projects, but how to execute those, or select one or more to execute?
The fluent syntax is preferrable, just cannot figure it out.