Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Dec 3, 2019. It is now read-only.

Testing One File

Harry Levine edited this page Apr 29, 2018 · 4 revisions

Run One Specific Test

During development, often times you need to run just one test file. The template for this call is:

docker-compose run web bin/rails test path_to_test_file_in_test_directory

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

Run Entire Test Suite

To run the entire test suite, you will simply call:

make test

Note: Docker needs to be running in all cases.

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.