Actions
Task #4866
closedTask #4864: Increase coverage of unit tests across Suricata
rust/nfs/*: add unit tests
Effort:
Difficulty:
Label:
Description
Add tests for all the logical units and parsers.
Example: https://github.com/OISF/suricata/blob/master/rust/src/sip/parser.rs#L242
Test should be made with data from real network traffic.
Suggested pcap sources to look for such traffic: https://forum.suricata.io/t/sharing-good-sources-of-sample-captures/1766
Testing guide:
https://github.com/OISF/suricata/blob/master/doc/devguide/codebase/testing.rst
https://github.com/OISF/suricata/blob/master/doc/devguide/codebase/unittests-rust.rst
https://github.com/OISF/suricata/blob/master/doc/devguide/codebase/unittests-c.rst
Actions