Testing

Alex Koppel edited this page Feb 28, 2017 · 19 revisions

Koala has full test coverage!

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.

Live tests

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.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.