azure-cli-dev-tools icon indicating copy to clipboard operation
azure-cli-dev-tools copied to clipboard

disable teardown for ResourceGroupPreparer

Open ctaggart opened this issue 5 years ago • 1 comments

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?

ctaggart avatar Jul 01 '19 16:07 ctaggart

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.

tjprescott avatar Jul 01 '19 18:07 tjprescott