Revision 4beae324be4bb2c509485bd9c9d9ada3eb30a63d authored by Nicolas Dandrimont on 14 September 2015, 08:56:02 UTC, committed by Nicolas Dandrimont on 14 September 2015, 08:56:02 UTC
1 parent e95ab80
README.db_testing
Running database-related tests
==============================
Python tests for this module include tests that cannot be run without a local
Postgres database. You are not obliged to run those tests though:
- `make test`: will run all tests
- `make test-nodb`: will run only tests that do not need a local DB
- `make test-db`: will run only tests that do need a local DB
If you do want to run DB-related tests, you should:
- ensure that your user is authorized to create and drop DBs, and in particular
DBs named "softwareheritage-test" and "softwareheritage-dev"
- run `make -C sql/ dumpdb` from the top-level dir of this module to ensure you
have the local dump that is loaded for testing purposes
Computing file changes ...