vendredi 1 décembre 2017

set-up and tear-down method for multiple test modules

I have a number of tests, scattered among different test modules and classes. I need to start up/tear down a docker container before/after running the tests, but neither setUpClass() nor setUpModule() seems appropriate. How do I specify set-up and tear-down methods for multiple modules?

Aucun commentaire:

Enregistrer un commentaire