author | Radek Brich <radek.brich@devl.cz> |
Tue, 05 Mar 2013 13:47:32 +0100 | |
changeset 73 | 390376b9e70f |
parent 49 | 08e4dfe1b0cb |
child 75 | 39f777341db4 |
permissions | -rw-r--r-- |
49
08e4dfe1b0cb
Add test for MyManager (enable only when MySQLdb is available). Configure tests using pgtoolkit.conf (same as used by other executables).
Radek Brich <radek.brich@devl.cz>
parents:
22
diff
changeset
|
1 |
TESTING |
08e4dfe1b0cb
Add test for MyManager (enable only when MySQLdb is available). Configure tests using pgtoolkit.conf (same as used by other executables).
Radek Brich <radek.brich@devl.cz>
parents:
22
diff
changeset
|
2 |
======= |
22 | 3 |
|
49
08e4dfe1b0cb
Add test for MyManager (enable only when MySQLdb is available). Configure tests using pgtoolkit.conf (same as used by other executables).
Radek Brich <radek.brich@devl.cz>
parents:
22
diff
changeset
|
4 |
All test should work at least with Python 2.7 and 3.2 |
22 | 5 |
|
6 |
||
7 |
How to test |
|
8 |
----------- |
|
9 |
||
49
08e4dfe1b0cb
Add test for MyManager (enable only when MySQLdb is available). Configure tests using pgtoolkit.conf (same as used by other executables).
Radek Brich <radek.brich@devl.cz>
parents:
22
diff
changeset
|
10 |
1. copy pgtoolkit.conf.example to pgtoolkit.conf, modify it so it points to your test database |
22 | 11 |
|
49
08e4dfe1b0cb
Add test for MyManager (enable only when MySQLdb is available). Configure tests using pgtoolkit.conf (same as used by other executables).
Radek Brich <radek.brich@devl.cz>
parents:
22
diff
changeset
|
12 |
2. create test tables using sql/tests.sql |
22 | 13 |
|
49
08e4dfe1b0cb
Add test for MyManager (enable only when MySQLdb is available). Configure tests using pgtoolkit.conf (same as used by other executables).
Radek Brich <radek.brich@devl.cz>
parents:
22
diff
changeset
|
14 |
3. run tests.py |
22 | 15 |