This PR adds new controls over whether pytest-operator outputs a juju crashdump. Previously, the crashdump was output only if tests failed and --keep-models==False. This commit adds additional modes:
always: dumps after all tests
on-failure: dumps after failed tests
legacy: (DEFAULT) dumps after a failed test if --keep-models is False
This PR adds new controls over whether pytest-operator outputs a juju crashdump. Previously, the crashdump was output only if tests failed and
--keep-models==False
. This commit adds additional modes: