Each assignment under assignment_1
, assignment_2
, assignment_3
and assignment_4
contains detailed instructions. This readme contains a summary of how to run the tests.
(make sure the virtual environment is active before running tests)
(my-virtualenv) $ py.test assignment_1/tests.py
(my-virtualenv) $ py.test assignment_1/tests.py -k default_price
You can control the way errors are shown with the --tb
argument. For example, for shorter error details:
(my-virtualenv) $ py.test assignment_1/tests.py --tb=short