Skip to content
This repository has been archived by the owner on Apr 13, 2019. It is now read-only.

Unit testing plugins #96

Open
axsuul opened this issue Aug 21, 2012 · 3 comments
Open

Unit testing plugins #96

axsuul opened this issue Aug 21, 2012 · 3 comments

Comments

@axsuul
Copy link

axsuul commented Aug 21, 2012

Has anyone had success in unit testing their plugins against different types of messages? If so, care to weigh in on your methodologies? Thanks!

@jeremyd
Copy link

jeremyd commented Oct 27, 2012

Hi axsuul! I've had some success in unit-testing my bot. Here's the source: https://github.com/jeremyd/bangbot/blob/master/test/bangbot_test.rb . I also found myself wanting an integration test to catch more bugs. An integration test would involve running a small IRC server + the bot and interacting with it to exercise all of the code.

@benoittgt
Copy link

Awesome ! Thanks for the links.

@bougyman
Copy link
Contributor

@jeremyd I like the way you think. Integ testing is one of my highest priorities to add to cinch and make available for plugin testers as well.

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

No branches or pull requests

4 participants