How to run a single test from a rails test suite?

后端 未结 12 1715
故里飘歌
故里飘歌 2020-12-07 09:09

How can I run a single test from a rails test suite?

rake test ANYTHING seems to not help.

12条回答
  •  温柔的废话
    2020-12-07 10:03

    To run a single test in the actual Rails suite:

    bundle exec ruby -I"railties/test" actionpack/test/template/form_options_helper_test.rb
    

提交回复
热议问题