As part of our ASP.NET Core 2.0 build process I have added a dotnet test command which I have added as a Windows batch file.
Here is my command.
dotnet test "MyProject.csproj" --no-restore --results-directory "MyProjectTestResults" --verbosity minimal
And here is the output when run from the command line.
So it all appears to work correctly, yet no test results / test output is created.