docs and NEWS for the new tests

This commit is contained in:
John Krauss
2016-08-12 18:56:06 +00:00
parent e4b4ebf72d
commit f991f5a1e6
3 changed files with 22 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
1.0.5 (2016-08-12)
__Improvements__
* Integration tests moved to `src/python/test/`, and can be run without hitting
any HTTP SQL API.
1.0.4 (2016-07-26)
__Bugfixes__

View File

@@ -1,5 +1,5 @@
comment = 'CartoDB Observatory backend extension'
default_version = '1.0.4'
default_version = '1.0.5'
requires = 'postgis, postgres_fdw'
superuser = true
schema = cdb_observatory

14
src/python/test/README.md Normal file
View File

@@ -0,0 +1,14 @@
### Integration/performance tests
Tests here are meant to be run on a box with an Observatory meta/data dump
loaded and ready to be tested against the API.
The local Python needs the requirements in `src/python/requirements.txt`.
In order to find and access the correct database, the `PGUSER`, `PGPASSWORD`,
`PGHOST`, `PGPORT` and `PGDATABASE` env variables should be set.
Tests should be executed as follows:
nosetests test/autotest.py
nosetests -s test/perftest.py