You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new, empty xUnit project and attempt to run it:
dotnet new -t Xunittest
dotnet restore
dotnet test
Expected behavior
Test should complete with zero passing and zero failing tests.
Actual behavior
dotnet test outputs:
Test run for c:\Users\chris\Desktop\test\bin\Debug\netcoreapp1.0\test.dll(.NETCoreApp,Version=v1.0)
dotnet exec needs a managed .dll or .exe extension. The application specified was 'C:\Program'
Process Monitor shows that dotnet test fails to quote the path to vstest.console.dll when running dotnet exec internally:
Moving from https://github.com/dotnet/cli/issues/4744 on behalf of @chausner [and others].
Steps to reproduce
Create a new, empty xUnit project and attempt to run it:
Expected behavior
Test should complete with zero passing and zero failing tests.
Actual behavior
dotnet test
outputs:Process Monitor shows that
dotnet test
fails to quote the path to vstest.console.dll when runningdotnet exec
internally:Running the command by hand with the path correctly quoted, runs the tests successfully.
Environment data
dotnet --info
output:The text was updated successfully, but these errors were encountered: