In my project I created a unittest testfile for each python file with code. I have for example a file component.py
and its accompanied test_component.py
. Similarly for path.py
and test_path.py
and many others.
However, since these files depend on each other it is possible that a change in one file affects another, thus if I change something I need to rerun all my testfiles. For now, I have to do this manually. My question is the following: Is it possible to run all these testfiles at once with only one handling? Maybe call them from an extra file? I want however still use the testsuite as before (see the image below).
I am using python 2.7 and Jetbeans PyCharm.
Aucun commentaire:
Enregistrer un commentaire