desc "Run all unit tests"
task :test => [:test_action_pack, :test_active_record_integration]
Rake::TestTask.new(:test_action_pack) do |t|
t.libs << 'test'
# make sure we include the tests in alphabetical order as on some systems
# this will not happen automatically and the tests (as a whole) will error
t.test_files = Dir.glob('test/{abstract,controller,dispatch,template}/***/**_test.rb').sort
t.warning = true
t.verbose = true
end
这里的
Dir.glob('test/{abstract,controller,dispatch,template}/***/**_test.rb')
是什么意思啊?
主要是 2 个*和 3 个*的问题,不了解是什么意思?求教