Skip to content

Commit

Permalink
Merge pull request #27662 from code-dot-org/islemaster-patch-1
Browse files Browse the repository at this point in the history
Document running dashboard tests without spring to get coverage reports
  • Loading branch information
islemaster committed Mar 25, 2019
2 parents 594ca8f + 3aad173 commit 49e47d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions TESTING.md
Expand Up @@ -96,6 +96,9 @@ or
To run a specific unit test, you can run
`bundle exec spring testunit ./path/to/your/test.rb --name your_amazing_test_name`

You can get a local coverage report with
`COVERAGE=1 bundle exec ruby -Itest ./path/to/your/test.rb`

If you get an error about missing db fields, try migrating your test database:
`RAILS_ENV=test rake db:migrate`

Expand Down

0 comments on commit 49e47d7

Please sign in to comment.