Commandify TestingΒΆ

commandify tests go in the tests/ directory and subdirectories. Individual bug tests should be named e.g. bugs/test_bug_22.py where the issue in question is Issue 22 in the `github issue tracker <https://github.com/markmuetz/commandify`_. All tests should be run before each new release. Additionally, style checking is done using the pep8 style checker, with a modified maximum line length of 100 characters.

Tests must be run from the tests/ directory due to the way that the current commandify module is loaded (by using sys.path.insert(0, '../..'))

Run unit tests with:

nosetests functional

PEP8 tests with:

nosetests pep8_tests

or just bugs:

nosetests bugs

or all tests:

nosetests

Previous topic

commandify API

Next topic

Change Log

This Page