Last active
January 23, 2017 09:44
-
-
Save joeyates/34dbe6e9c0e5ba3e515c to your computer and use it in GitHub Desktop.
Running MRI Ruby Tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# While modifying Ruby source, it's handy to only run the tests on the file you're modifying. | |
# See: | |
# * doc/contributing.rdoc in Ruby source, | |
# * https://bugs.ruby-lang.org/projects/ruby/wiki/DeveloperHowto | |
# Run core tests: | |
make test | |
# Run all tests: | |
make test-all | |
# Specify a directory: | |
make test-all TESTS=test/rss | |
# Specify a single file: | |
make test-all TESTS=test/rss/test_atom.rb | |
# Filter by test name: | |
make test-all TESTOPTS='-n test_feed' | |
# Filter by file and name (faster than above): | |
make test-all TESTS=test/rss/test_atom.rb TESTOPTS='-n test_feed' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment