1
by Robert Collins
Export of cruft-deleted tree. |
1 |
Tests
|
2 |
=====
|
|
3 |
||
4 |
Put doc and unit tests in src/oopstools/oops/test/. |
|
5 |
||
6 |
Running
|
|
7 |
-------
|
|
8 |
||
9 |
To run the full test suite either run 'make check' or |
|
10 |
||
11 |
bin/django test |
|
12 |
||
13 |
To filter doctests by regular expressions, you can instead do: |
|
14 |
||
15 |
bin/django test <re1> <re2> |
|
16 |
||
17 |
which will run any tests matching either <re1> or <re2> regular expressions. |
|
18 |
||
19 |
Eg. to run dboopsloader.txt, one can do |
|
20 |
||
21 |
bin/django test dboopsloader.txt |
|
22 |
||
23 |
Unit tests are all run regardless of the 'test labels' passed in. |