How can I reset config during runtime?

Hmm, the config’s are immutable so I don’t see how they would be changing at run time..

Are you talking about something else like the application environment or so? If so then you could just take a snapshot of all it’s values and reset them all to that at the end of the testing run.