【发布时间】:2011-08-04 19:59:52
【问题描述】:
在 users_controller_test.rb 我有:
def test_name
...
end
def test_name_2
...
end
etc...
是否可以只从命令行运行第一个测试?比如:
rake test:functionals TEST=test/functional/users_controller_test.rb (plus the test name?)
谢谢
【问题讨论】:
标签: ruby-on-rails ruby ruby-on-rails-3 testing rake