【问题标题】:Running Chimp with Meteor用流星运行黑猩猩
【发布时间】: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...

它应该为我提供步骤定义的存根。我做错了什么?

【问题讨论】:

  • 看起来你做的一切都是正确的,它应该可以工作。可能是某处打错字了?

标签: meteor meteor-cucumber


【解决方案1】:

我也刚开始使用黑猩猩,我使用@focus 代替@watch 来获取定义

希望对你有所帮助。

干杯。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-03-22
    • 1970-01-01
    • 2019-04-08
    • 2018-06-08
    • 2014-03-15
    • 2017-09-12
    • 2015-12-11
    • 1970-01-01
    相关资源
    最近更新 更多