We use the Mocha testing framework.
setupmethod gets called before each test.
- Set up
@instance_variablein setup, and use it in tests.
There have been some issues getting everything properly installed for the Scribbler Bot project on OS X. It worked for me the first time because I used Homebrew and pip instead of the
.mpkg installers. I've done this three times now and it has worked every time, so this should work for you too.
All code blocks are meant to be pasted into the Terminal.
Disclaimer: Follow these instructions at your own risk. I promise they won't do anything bad, but I don't guarantee it. I am not responsible for any unintended consequences.