-
Notifications
You must be signed in to change notification settings - Fork 464
Testing
Alex Koppel edited this page Feb 28, 2017
·
19 revisions
That’s right, you can sleep soundly tonight.
The tests are written in RSpec and can be run by calling
bundle exec rake spec
from anywhere in the Koala project directory.
By default, these tests run against mock responses and hence are ready out of the box.
You can also run the tests live against Facebook’s servers for the ultimate verification:
LIVE=true bundle exec rake spec
The tests create a pair of test users, use their walls and relationships to verify things work, and
tear them down at the end. No fuss, no muss.