-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
There are currently no unit tests for the packet filtering logic in model/packet.go. Adding tests will improve reliability and make future changes safer.
Task:
- Create
internal/model/packet_test.go - Add tests for the
ApplyFiltersfunction (see sample test in the issue body above) - Test various filter combinations: protocol, source IP, destination IP, ports, and free text.
Why:
Automated tests help catch bugs early and encourage safe refactoring.
Reactions are currently unavailable