This directory contains unit tests designed to be ran using the Nose unittesting framework.
All commands must be run within tests/
directory.
- Run all tests:
nosetests3
- Run all tests in a specific file:
nosetests3 opaque_field_test.py
- Run a specific test:
nosetests3 opaque_field_test.py:TestOpaqueFields.test_equality
- See which tests are being run:
nosetests -v
To get a html report of the testing coverage, run ./scion.sh coverage
in the
top directory.