Hello. I have such env:
-Wiremock in docker-compose
-volume for stubs
-turned on --record-all
-mappings with proxu mapping
I must before all tests call Wiremock.removeMappings() because of recording (snapshotted mappings) i need clear it when i restart one test a lot of times, but cos of I have volumes, this method deletes in container and in real directory.
I need to reset mappings and delete snapshotted mappings before each run of tests.
What do u suggest?