Skip to content

Commit ccdffaa

Browse files
committed
Merge pull request #1221 from maurogeorge/patch-07
Add Running tests section on CONTRIBUTING
2 parents d5e6e31 + 0f05583 commit ccdffaa

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

CONTRIBUTING.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,21 @@ AMS uses a subset of [StandardIssueLabels](https://github.com/wagenet/StandardIs
2929
7. Create a new Pull Request
3030

3131
Remember to squash your commits and rebase off `master`.
32+
33+
### Running tests
34+
35+
#### Running with Rake
36+
37+
The easiest way to run the unit tests is through Rake. The default task runs
38+
the entire test suite for all classes. For more information, checkout the
39+
full array of rake tasks with "rake -T"
40+
41+
Rake can be found at http://docs.seattlerb.org/rake/.
42+
43+
To run a single test suite
44+
45+
rake test TEST=path/to/test.rb
46+
47+
which can be further narrowed down to one test:
48+
49+
rake test TEST=path/to/test.rb TESTOPTS="--name=test_something"

0 commit comments

Comments
 (0)