Commit 1e8e5737797822101d994a63387e78426e097969
1 parent
1ad45c57
unittest: add note to howto
Showing
1 changed file
with
6 additions
and
2 deletions
tests/howto_add_unittests.txt
| 1 | 1 | Howto: Add unittests |
| 2 | 2 | -------------------- |
| 3 | 3 | |
| 4 | -For helping python's unittest to discover your tests, do the | |
| 5 | -following: | |
| 4 | +Note: The following are just guidelines to help inexperienced users create unit | |
| 5 | +tests. The python unittest library (see | |
| 6 | +https://docs.python.org/2/library/unittest.html) offers much more flexibility | |
| 7 | +than described here. | |
| 8 | + | |
| 9 | +For helping python's unittest to discover your tests, do the following: | |
| 6 | 10 | |
| 7 | 11 | * create a subdirectory within oletools/tests/ |
| 8 | 12 | - The directory name must be a valid python package name, | ... | ... |