- Go to your Django activebrainatlas or brainsharer_portal installation directory
- Do:
source /usr/local/share/pipeline/bin/activate
- Do:
git pull origin master
- Do:
python manage.py check
- Do:
python manage.py test neuroglancer --keepdb
This will run all tests in neuroglancer/tests.py. All methods that start with test_ are run. If there is a setup method, that is run before each test. Each test runs on its own and has nothing to do with any other test_ method. (Except the setup method) - For this to work, you will need access to the test_active_atlas_development database. The dk user has the necessary permissions.
- Create new test methods in the same file. For any test, simply name it test_my_existing_method . Each method must start with test_