加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ruby – 初始化黄瓜文件夹结构?

发布时间:2020-12-17 03:26:32 所属栏目:百科 来源:网络整理
导读:有没有一种简单的方法来初始化像铁轨发电机一样的黄瓜文件夹结构? 解决方法 从 the documentation开始: ruby script/generate cucumber If you’re on an OS that supports fork (read: !Windows) we recommend you use Spork and —drb as this lets you
有没有一种简单的方法来初始化像铁轨发电机一样的黄瓜文件夹结构?

解决方法

从 the documentation开始:

ruby script/generate cucumber

If you’re on an OS that supports fork (read: !Windows) we recommend you use Spork and —drb as this lets you start cucumber faster:

ruby script/generate cucumber --spork

For more help on the generator you can just ask for help:

ruby script/generate cucumber --help

ruby script/generate feature Frooble name:string color:string description:text

This will generate a simple plain text feature with associated steps. Don’t get addicted to this generator – you’re better off writing these by hand in the long run.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读