Test Suite

API Umbrella’s test suite uses Ruby’s minitest. All tests are located in the test directory. Tests are separated into these areas:

Running Tests

Assuming you have a Vagrant development environment, you can run all the tests with:

$ cd /vagrant
$ make test

Running Individual Tests

If you’d like to run individual tests, rather than all the tests, there are a few different ways to do that:

# Run individual files or tests within the web-app test suite:
$ cd /vagrant
$ ruby test/apis/v1/admins/test_create.rb