Skip to content

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

@tonyhallett

Description

@tonyhallett

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


Associated WorkItem - 540969

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.

Type

No type

Projects

Status

🔖 Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions