Last active
December 12, 2015 08:19
-
-
Save julio-saito-linx/4743279 to your computer and use it in GitHub Desktop.
ruby -I"lib:test" path_to_test_file -n name_of_the_method"
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
# http://flavio.castelli.name/2010/05/28/rails_execute_single_test/ | |
#single file | |
rake test path_to_test_file | |
#or | |
ruby -I"lib:test" path_to_test_file | |
#single method | |
ruby -I"lib:test" path_to_test_file -n "name_of_the_method" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment