After reading How to get the function name as string in Python?
I wondered if it is somehow possible to put a logging statement into one of the
def setUp(self): ... def tearDown(self): ...
and print the name of the current test function.
Aucun commentaire:
Enregistrer un commentaire