diff options
Diffstat (limited to 'doc/HACKING')
-rw-r--r-- | doc/HACKING/WritingTests.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/HACKING/WritingTests.txt b/doc/HACKING/WritingTests.txt index 977b8369f2..d2e05dd3a0 100644 --- a/doc/HACKING/WritingTests.txt +++ b/doc/HACKING/WritingTests.txt @@ -329,7 +329,9 @@ into test/slow if it genuinely needs to be run. Tests should not alter global state unless they run with TT_FORK: Tests should not require other tests to be run before or after them. -Tests should not leak memory or other resources. +Tests should not leak memory or other resources. To find out if your tests +are leaking memory, run them under valgrind (see HelpfulTools.txt for more +information on how to do that). When possible, tests should not be over-fit to the implementation. That is, the test should verify that the documented behavior is implemented, but |