How to use Python unit tests in self-contained program?
Run python unit tests as an option of the program
Unit tests in Python Write unit tests for restish in Python Python Unit Tests - Am I using SetUp wrong? How can I write unit tests against code that uses matplotlib? Where to keep Python unit tests? Python: Running all unit tests inside a package How do I run all Python unit tests in a directory? Python unit tests multiple threads Writing unit tests for a class's __init__ method Right way to write Unit-Tests in module? Matplotlib and unit tests Why don't my unit tests run in Python? Writing unit tests in Python: How do I start? Running Python code contained in a string How to properly use Unit Tests (in any language) Python self contained web application and server? Writing unit tests in Django / Python Import module from another directory for Unit Tests Am I doing these unit tests right? Paramaterize unit tests in python How do unit tests import the modules they test? Python script that contains its own unit tests Python unit tests run function after all test Why are my unit tests not run? Run specific unit tests in python from main() Mock a class and a class method in python unit tests Python Unit Tests Run method until certain point changing order of unit tests in Python Why unit tests in Python need -m option?