Revision 30f7883afc7a1ee064b17d726505a1212b92a6b3 authored by Antoine R. Dumont (@ardumont) on 07 October 2016, 17:08:34 UTC, committed by Antoine R. Dumont (@ardumont) on 07 October 2016, 18:30:55 UTC
Related T578
1 parent 859860c
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
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...