【发布时间】:2016-01-03 16:16:28
【问题描述】:
为我的应用在全球和本地安装了 Chimp。在我的应用程序的根目录下创建了 features 目录。使用以下场景放入功能文件insertContract.feature。
Feature: Input contact information
As a contract admin
I want to input contact information
So that I can save it in a database
@watch
Scenario: Go to the contract insert page
Given I have visited Contract Insert page
Then I see an input "supplierName"
黑猩猩。
chimp --ddp=http://localhost:7001 --watch
Chimp 说它正在运行并观看标签@watch、@focus、@dev。但它不会从功能文件中获取任何内容。
Sudis-MacBook-Pro:contract tupun$ chimp --ddp=http://localhost:7001 --watch
[chimp] Watching features with tagged with @dev,@watch,@focus
[chimp] Running...
它应该为我提供步骤定义的存根。我做错了什么?
【问题讨论】:
-
看起来你做的一切都是正确的,它应该可以工作。可能是某处打错字了?