Answer Wise-Ass
If your colleague breaks the tests, then he should fix the test, or he should not have passed the code to the repo. This is the basic principle that we usually have in projects that I work on.
Good answer
try it
rake test:functionals TEST=test/functional/xy_test.rb
Or it’s the start of a single test without a rake, but with an explicit $ -load path it also works here "ruby -I directory" indicates the $ download path. Otherwise, you do not load the test environment and "require test_helper" fails!
ruby -I test test/functional/xy_test.rb
Jonas söderström
source share