I have files with:
require 'test_helper'
class SomeTest < ActiveSupport::TestCase
...
require 'test_helper'
class SomeOtherTest < ActiveSupport::TestCase
...
How could I run them?, but not all other files in test folder. I am using Rails 2.3.14.
without reload the environment several times.
Try these:
ruby -I test test/unit/some_test.rb
ruby -I test test/unit/some_other_test.rb
Your test files may be another directory just use their path.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.