Add test suite? #168

Open
mandarg opened this Issue Dec 8, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@mandarg
Contributor

mandarg commented Dec 8, 2016

I introduced a change in #166 that broke a use case that I knew existed in the back of my mind, but didn't test correctly. A test suite could have helped me catch it sooner.

From looking through the codebase, I don't think one currently exists but I'd be interested in writing some up (for mausezahn at least). Any suggestions for frameworks, or pointers towards existing similar projects that have a good test suite? bats and Check are some things I have seen around that test at different levels.

@vkochan

This comment has been minimized.

Show comment
Hide comment
@vkochan

vkochan Dec 9, 2016

Contributor

Right, there is no any testing code. For mausezahn/trafgen might be used scapy for sniffing and packets
comparing.

Contributor

vkochan commented Dec 9, 2016

Right, there is no any testing code. For mausezahn/trafgen might be used scapy for sniffing and packets
comparing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment