Skip to content

Verify --results-directory with new dotnet test and document potential difference compared to VSTest #5375

Open
@Youssef1313

Description

@Youssef1313

I think in VSTest, when using a relative path as value of --results-directory, it will be considered relative to the working directory of the running .NET CLI (usually repo root).

In MTP, it will be passed as-is to each executable, and will be relative to the working directory of each executable, which is the directory containing the executable (e.g, bin directory), unless RunWorkingDirectory is overwritten.

We need to verify the above behavior, and if there is indeed a difference in this case between MTP and VSTest, we should clearly document it.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions