Rails命令有什么区别:--no-test-framework,--skip-test-unit和-T? [英] What is the difference in Rails commands: --no-test-framework, --skip-test-unit, and -T?
本文介绍了Rails命令有什么区别:--no-test-framework,--skip-test-unit和-T?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的印象是,这三个都是一样的,但现在我看着它,似乎他们都是不同的。
I was under the impression that all three of these were the same, but now that I look into it, it seems they are all different.
我是一个Rails新手,我试图找到我自己,但我不能通过搜索任何好的文档。
I am a Rails novice and I tried to figure this out on my own, but I cannot any good documentation on this by searching.
推荐答案
两者在初始创建项目(rails new)时使用
和
- skip-test-unit
选项,而 - no-test-framework
可用于以后的生成器命令(rails generate)。
both -T
and the --skip-test-unit
options are to be used when initially creating the project (rails new), whereas the --no-test-framework
is available to later generator commands(rails generate).
这篇关于Rails命令有什么区别:--no-test-framework,--skip-test-unit和-T?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文