Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Need tests #35

Open
ljos opened this Issue · 2 comments

2 participants

Bjarte Johansen David Fendrich
Bjarte Johansen

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

David Fendrich
Owner

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.

Bjarte Johansen

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
Something went wrong with that request. Please try again.