Unitary test

ArGaze package unitary tests are based on unittest module. Test files tree structure is mirroring the file tree structure of src/argaze folder.

Note

Consider that all inline commands below have to be executed at the root of ArGaze package folder.

To run all unitary tests:

python -m unittest discover ./src/argaze.test "*.py"

To run only submodule unitary tests:

python -m unittest discover ./src/argaze.test/SUBMODULE "*.py"

To run only a single unitary test file from a submodule:

python -m unittest discover ./src/argaze.test/SUBMODULE/ TEST_FILE.py

Note

Verbose mode
Use -v option to get more details.