With the "Arrange/Act/Assert" approach to test definition, the Arrange portion may end up creating a bunch of data or configuring the application to behave a certain way.
Do this enough times, and all of those "Arrange" activities can start to create quite a lot of data - perhaps enough to overload the test environment. In some cases, a tester should navigate through the UI to undo earlier steps. In other cases, a database script should be run. In still others, a complete environment snapshot restore may be in order.
In most Test Case Management tools, I see places for preconditions, action, and verification steps. Or I see specific places for "Arrange, Act, Assert" steps. What I typically don't see is a place for these undo or cleanup steps.
What's the recommended place to document "Un-Arrange" steps to clean up after the test, or to restore the environment to the condition it was in before testing an uncommon configuration setting? Is there a common term or phrase to describe these steps? Is there a common way to distinguish these steps from those that are actually part of the test execution itself?