software-packaging

Run unittest from a Python program via a command-line option

Run unittest from a Python program via a command-line option Question: Here is my set up – project/ __init__.py prog.py test/ __init__.py test_prog.py I would like to be able to run my unit tests by calling a command-line option in prog.py. This way, when I deploy my project, I can deploy the ability to run …

Total answers: 4