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? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Issue on me, the documentation is probably not clear enough. Each {
"mstest": {
"deployment": {
"deleteDeploymentDirectoryAfterTestRunIsComplete": true
}
}
} |
Beta Was this translation helpful? Give feedback.
Issue on me, the documentation is probably not clear enough. Each
XXX settings
section 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).