require 'cinch/test'
and include the moduleCinch::Test
in your test scope- Make a bot with
make_bot(plugin, plugin_opts)
(you can pass a block to further configure the bot) - Make a message with
make_message(bot, 'message text')
- Stub things out on the message as you like, then collect all the replies
with
get_replies(message)
-
Notifications
You must be signed in to change notification settings - Fork 6
jneen/cinch-test
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A testing module for the cinch IRC framework
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published