Open axsuul opened 12 years ago
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.
Awesome ! Thanks for the links.
@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.
Has anyone had success in unit testing their plugins against different types of messages? If so, care to weigh in on your methodologies? Thanks!