As title.
ruby test/functionals/whatevertest.rb doesn’t work, that requires me to replace all require 'test_helper' to require File.dirname(__FILE__) + '/../test_helper'. For some reason most of those test templates have such issue, so I rather to see if there is a hack I could get around it.
On Linux? why not try
(cd test && ruby functionals/whatevertest.rb). Note, the parentheses are important as otherwise your current directory will change to the subdirectory. What it does isforkanother shell, change to the subdirectory in it, and run the test.