Is it possible to run a single test in MiniTest?

后端 未结 13 1641
旧时难觅i
旧时难觅i 2020-12-12 10:29

I can run all tests in a single file with:

rake test TEST=path/to/test_file.rb

However, if I want to run just one test in that file, how wo

13条回答
  •  余生分开走
    2020-12-12 11:15

    If you are using Turn gem with minitest, just make sure to use Turn.config.pattern option since Turn Minitest runner doesn't respect --name option in ARGs.

提交回复
热议问题