observatory-extension/scripts
2016-05-16 11:28:27 -04:00
..
autotest.py better test points 2016-05-16 11:28:27 -04:00
generate_fixtures.py use schema feature of sqldumpr, use different WHERE clause for zcta 2016-05-12 11:41:47 -04:00
README.md first-pass automatic testing 2016-05-12 14:21:31 -04:00
requirements.txt first-pass automatic testing 2016-05-12 14:21:31 -04:00

Automatic tests and utilities

Installation

Python 2.7 should cover you. Virtualenv recommended.

virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

Execution

Run automated tests against a hostname:

(venv) OBS_HOSTNAME=<hostname.cartodb.com> OBS_API_KEY=foobar nosetests autotest.py