Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The custom test adapter search path provided was not found #991

Closed
prawalagarwal opened this issue Aug 14, 2017 · 1 comment
Closed

The custom test adapter search path provided was not found #991

prawalagarwal opened this issue Aug 14, 2017 · 1 comment
Assignees
Labels

Comments

@prawalagarwal
Copy link
Member

Description

Running MSTestV2 tests with /testadapterpath flag. Came across an issue when path was present both in runsettings file and provided via the command line flag. The path in the settings file is incorrect and hence was not found. But the error message ends up showing the path provided via the cmd.

Steps to reproduce

Create a normal test project on mstestv2.
Run like this: "C:\Program Files (x86)\Microsoft Visual Studio\Preview\Enterprise\Common7\IDE\Extensions\TestPlatform\vstest.console.exe" "C:\source\repos\SampleCalculatorNew\SampleCalculatorTests\bin\Debug\SampleCalculatorTests.dll" /collect:"Code Coverage" /Settings:"C:\source\repos\SampleCalculatorNew\TestSettings.runsettings" /testadapterpath:"C:\source\repos\SampleCalculatorNew\SampleCalculatorTests\bin\Debug"

In the above runsettings provide some invalid path to test adapters.

Expected behavior

The run should fail stating that the invalid file given in the runsettings file

Actual behavior

The run fails stating the path provided in the cmd line.

@Faizan2304
Copy link
Contributor

Fixed!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants