Running the Test SuiteΒΆ

The test suite requires that Neo4j be running, and that you have the cleandb extension installed at localhost:<NEO4J_PORT>/cleandb.

We test with nose. To run the suite, set as your DJANGO_SETTINGS_MODULE and run nosetests. In bash, that’s simply:

cd <your path>/neo4django/
export DJANGO_SETTINGS_MODULE="neo4django.tests.test_settings"

We’ve put together a nose plugin to ensure that regression tests pass. Any changesets that fail regression tests will be denied a pull. To run the tests, simply:

pip install nose-regression
nosetests --with-regression