Revision 591e886ada071415061774a3f1fb5e61c736ec86 authored by Quentin Campos on 29 July 2016, 13:32:58 UTC, committed by Quentin Campos on 01 August 2016, 15:23:25 UTC
Reviewers: #reviewers!, olasd, zack Maniphest Tasks: T512 Differential Revision: https://forge.softwareheritage.org/D88
1 parent 87386de
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 ...