[Django]-How to run all tests in a setup.py script?

3👍

Assuming you’re using setuptools, check out test build package and run a unittest suite from their docs. which I believe lets you run setup.py test and doesn’t install your package, but runs the tests in an egg. From here you can run setup.py install. This does seem to be a new command (my version doesn’t have it listed).

Leave a comment