Implementation of various algorithms, data structures, interview questions and challenges in Python.
To run individual tests, under the aids parent folder,
$ python -m unittest tests.<module name>
To run all the tests, under the aids parent folder, just do:
$ python -m unittest discover tests -v
To run all tests using nose,
$ nosetests -v tests
To run all tests using nose and coverage,
$ nosetests -v --with-coverage --cover-package=mooc_aggregator_restful_api --cover-inclusive --cover-erase tests
Whole project:
$ pep8 --exclude=LICENSE*,*.txt,*.md,*.pyc,.svn,CVS,.bzr,.hg,.git,__pycache__ --ignore=E501 *
A specific file:
$ pep8 --exclude=LICENSE*,*.txt,*.md,*.pyc,.svn,CVS,.bzr,.hg,.git,__pycache__ --ignore=E501 <path_to_file>
Usman Ehtesham Gul - uehtesham90@gmail.com