Configuring MSTest via testconfig.json #5067
|
I am trying to use testconfig.json (https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-mstest-configure#testconfigjson) to configure MSTest with not much luck. For instance, given the following configuration: I expect deployment directory to be deleted after the test run, but it is still there. What am I missing? |
Answered by
Evangelink
Feb 18, 2025
Replies: 1 comment 3 replies
|
Issue on me, the documentation is probably not clear enough. Each {
"mstest": {
"deployment": {
"deleteDeploymentDirectoryAfterTestRunIsComplete": true
}
}
} |
3 replies
Answer selected by
avivanoff
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue on me, the documentation is probably not clear enough. Each
XXX settingssection represents a inner group so for yoru case it needs to be underdeployment(https://learn.microsoft.com/dotnet/core/testing/unit-testing-mstest-configure#deployment-settings).{ "mstest": { "deployment": { "deleteDeploymentDirectoryAfterTestRunIsComplete": true } } }