Revision c08ee265017bd3f24e7cf3d3e38931f556305bb0 authored by Stefano Zacchiroli on 27 September 2015, 14:35:32 UTC, committed by Stefano Zacchiroli on 28 September 2015, 13:46:28 UTC
1 parent f068673
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"
- ensure that you have the storage testdata repository checked out in
../swh-storage-testdata
Computing file changes ...