我的黄瓜功能有哪些变量

时间:2012-02-29 17:26:35

标签: ruby-on-rails ruby ruby-on-rails-3 tdd cucumber

我有一个我正在查看的应用程序,我有这个代码

Feature: Contact us
    In order to allow users to contact us for help with the site
    As a user of the site
    I want to be able to view contact information

    @code-GGTU @estimate-1
    Scenario: Contact us page
        Given I am a logged in user
        When I follow "Contact Us"
        Then I should see "Contacts" in "main"

用于......的@code-GGTU @estimate-1部分是什么?它有这些变量的特殊含义的文档

1 个答案:

答案 0 :(得分:4)

这些变量是'标签',帮助黄瓜决定在执行场景时使用哪些选项。您可以在此处查看有关此文档的文档:https://github.com/cucumber/cucumber/wiki/Tags