Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing instability #4

Open
mtodd opened this issue Apr 22, 2009 · 0 comments
Open

Testing instability #4

mtodd opened this issue Apr 22, 2009 · 0 comments

Comments

@mtodd
Copy link

mtodd commented Apr 22, 2009

There are several problems with the approach to testing; admittedly, Jabber isn't an easy protocol to test, but I believe every single one of the features involved in xmpp4r-simple should be mocked to include no networking, and certainly no real Jabber accounts.

This would resolve intermittent errors due to network latency et al. It would also make writing further tests much simpler (and therefore more probable). Also, it will help with having to deal with side-effects of previous tests (if there are any) due to the external dependency.

Personally, it's painful and disheartening to sit there with the tests failing due to network problems, especially when they sit there for 20 seconds for each network-sensitive test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant