Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Need tests #35

Open
ljos opened this Issue Dec 5, 2012 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

ljos commented Dec 5, 2012

We need tests to ensure that future upgrades do not contain regressions.

Owner

gurgeh commented Dec 5, 2012

We most certainly do. Making mock-objects for the sniff__-files to test the rest of the code seems like a good first step. Testing the actual sniff__ files automatically seems difficult, though.

Contributor

ljos commented Dec 5, 2012

I think the sniff_* could be tested if we figure out how to send events as well. That way we could start the sniffers and then send controlled events. Though I have already had a lot of problems with sending events in Cocoa. There is something wrong with the interface and I get segfaults.

As a first step I agree that creating mock-objects for the sniffers is a good idea.

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