You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/doc/devguide/codebase/unittests.rst

13 lines
244 B
ReStructuredText

Unittests
=========
Unittests are a great way to create tests that can check the internal state
of parsers, structures and other objects.
Tests should:
- use FAIL/PASS macros
- be deterministic
- not leak memory on PASS
- not use conditions