Skip to content

Commit 63ccf8c

Browse files
committed
Rewriting the testing section of the README
- Intended to say what you actually need to do for the tests
1 parent 74abeb1 commit 63ccf8c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ An illustrative unit test:
8484

8585
Running the tests
8686
=================
87-
88-
This is slightly baroque because of the test matrix (PostgreSQL|MySQL|SQLite
89-
x Python2.5|2.6|2.7|3.2) ...
87+
`nose` and `tox` are supported as test runners. Select the SQL back-end by
88+
setting a `DB` environment variable. Select the database connection by setting
89+
the `DBURI` variable. With `tox`, you can also specify the Python version.
9090

9191
Using nose::
9292

@@ -96,7 +96,8 @@ Using tox::
9696

9797
DB='pgsql' DBURI='postgresql+psycopg2://user:password@host/dbname' tox -e py32
9898

99-
DB variants are 'pgsql', 'mysql' and 'sqlite'
99+
DB variants are 'pgsql', 'mysql' and 'sqlite'. Except in the case of SQLite,
100+
you'll need to create the database independently, before execution of the test.
100101

101102
Sample DBURI values::
102103

0 commit comments

Comments
 (0)