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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 3, 2019. It is now read-only.
Harry Levine edited this page Jan 1, 2018
·
4 revisions
Run One Specific Test
During development, often times you need to run just one test. For example, to run the users_controller_test.rb you would call:
docker-compose run web bin/rails test test/controllers/api/v1/users_controller_test.rb
This can be scoped further (i.e. running one test, or a block of tests). For example, to run just one test within a test file, append a : and line number of where the test block begins:
docker-compose run web bin/rails test test/controllers/api/v1/users_controller_test.rb:24
Run Entire Test Suite
To run the entire test suite, you will simply call: