mirror of https://github.com/OISF/suricata
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.
13 lines
244 B
ReStructuredText
13 lines
244 B
ReStructuredText
5 years ago
|
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
|