mercredi 25 novembre 2015

Can I group test methods and/or test classes in Python unittest

Coming from PHPUnit, it was easy to group test classes or functions using the@group annotation. That way I could run or exclude a very particular subset of tests, potentially across multiple files.

I'm wondering if python unittest has something similar. If that is the case how do I use it and run it from the CLI?

Thanks.

Aucun commentaire:

Enregistrer un commentaire