Smoke tests for the Errbot snap
(based on http://errbot.io/en/latest/user_guide/setup.html)
First, build and install the snap:
$ sudo apt install git snapcraft
$ git clone https://github.com/elopio/errbot
$ cd errbot
$ git checkout snapcraft
$ snapcraft
$ sudo snap install *.snap --dangerous
Init the bot:
$ mkdir ~/errbot-test
$ cd ~/errbot-test
$ errbot --init
Your Errbot directory has been correctly initialized !
Just do "errbot" and it should start in text/development mode.
Try the bot prompt:
$ errbot
[...]
>>> !tryme
It works !
>>> !help
All commands
Backup
Backup related commands.
• !backup - Backup everything.
[...]
• !history - display the command history
>>> !about
This is Errbot version 9.9.9
• Visit http://errbot.io/ for more information about errbot in general.
[...]
Errbot, without whom this project never would have grown into what it is today.
>>> !shutdown --confirm
Roger that. I am shutting down.
$