For rails 5: source Specific test file: rails test test/models/my_model.rb Specific test in file: rails test test/models/my_model.rb:22