azure-cli-dev-tools
azure-cli-dev-tools copied to clipboard
disable teardown for ResourceGroupPreparer
I'm trying to run tests with azdev test. I'm using ResourceGroupPreparer. It "deletes the resource group after the test is run" as documented. Is there a way to disable that so that I can inspect the test resources?
Hi @ctaggart there isn't a way supported currently but it would be a worthwhile feature edition. What I tend to do is debug into the test using Visual Studio and I can breakpoint before the line that deletes the resource group.