jeudi 7 mai 2015

How to run many unit test .py files from one master .py file?

I have several .py files that contain unit tests (using the unittest module).

Each one runs tests from a class:

if __name__ == '__main__':
    unittest.main()

I want to make one master file that runs every single unit test file I have but I don't really know if there is a proper setup for this.

Aucun commentaire:

Enregistrer un commentaire