dotnet-test-rerun icon indicating copy to clipboard operation
dotnet-test-rerun copied to clipboard

Relative path to test assembly not found (on osx, linux specifically?)

Open timbarrass opened this issue 1 year ago • 8 comments

For reference, I'm running on OSX. If I try and use a relative path for my test assembly I get:

➜  net6.0 git:(feature/DEV-14338) test-rerun ./MyTest.dll -d 1
  Microsoft (R) Test Execution Command Line Tool Version 17.4.0 (arm64)
  The test source file "/./MyTest.dll" provided was not found.

If I specify a full path I get :

➜  net6.0 git:(feature/DEV-14338) test-rerun /Users/tim/Documents/code/some/full/path/bin/Debug/net6.0/MyTest.dll -d 1
  Microsoft (R) Test Execution Command Line Tool Version 17.4.0 (arm64)
  Copyright (c) Microsoft Corporation.  All rights reserved.

  Starting test execution, please wait...

timbarrass avatar Jan 09 '24 14:01 timbarrass