Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ brakeman:
test: $(CONFIG)
bundle exec rspec

fast_test: $(CONFIG)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is neat -- should we document it somewhere in the README?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, will do.

bundle exec rspec --exclude-pattern "**/features/accessibility/*_spec.rb"

run: $(CONFIG)
foreman start

Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ To run all the tests:
$ make test
```

To run a subset of tests excluding slow tests (such as accessibility specs):
```
$ make fast_test
```

See RSpec [docs](https://relishapp.com/rspec/rspec-core/docs/command-line) for
more information.

Expand Down