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

Incorrect description of dotnet test argument --test-adapter-path #43945

Open
tonyhallett opened this issue Dec 11, 2024 · 0 comments
Open

Incorrect description of dotnet test argument --test-adapter-path #43945

tonyhallett opened this issue Dec 11, 2024 · 0 comments
Labels
dotnet-fundamentals/svc Pri1 High priority, do before Pri2 and Pri3 ⌚ Not Triaged Not triaged

Comments

@tonyhallett
Copy link

tonyhallett commented Dec 11, 2024

Type of issue

Typo

Description

--test-adapter-path <ADAPTER_PATH>

Path to a directory to be searched for additional test adapters. Only .dll files with suffix .TestAdapter.dll are inspected. If not specified, the directory of the test .dll is searched.

The --test-adapter-path gets converted to --testadapterpath and forwarded to vstest ( for dlls ). This is handled by the TestAdapterPathArgumentProcessor which will update the RunSettings/RunConfiguration/TestAdapterPaths

From vstest console options

/TestAdapterPath:[path] | Forces the vstest.console.exe process to use custom test adapters from a specified path (if any) in the test run

So this is the vstest extension mechanism and not specific to test adapter extensions - so this is incorrect Only .dll files with suffix .TestAdapter.dll are inspected.

Page URL

https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-test

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/tools/dotnet-test.md

Document Version Independent Id

2878af44-8208-7bd8-46d4-3acda3e82ce0

Article author

@tdykstra

Metadata

  • ID: 61ca4064-7481-a263-60fc-c70127f2ad16
  • Service: dotnet-fundamentals

Related Issues

@issues-automation issues-automation bot added dotnet-fundamentals/svc Pri1 High priority, do before Pri2 and Pri3 labels Dec 11, 2024
@dotnetrepoman dotnetrepoman bot added the ⌚ Not Triaged Not triaged label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotnet-fundamentals/svc Pri1 High priority, do before Pri2 and Pri3 ⌚ Not Triaged Not triaged
Projects
None yet
Development

No branches or pull requests

1 participant