Testing

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 Docker development environment, you can run all the tests with:

docker-compose run --rm app 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:

docker-compose run --rm app bundle exec minitest test/apis/v1/admins/test_create.rb