mavdi / grunt-cucumberjs

Grunt plugin for cucumber.js
MIT License
31 stars 36 forks source link

a fix when feature element does not have steps #37

Closed gkushang closed 9 years ago

gkushang commented 9 years ago

a fix when feature element does not have steps. setState should continue reading next elements. It happens at the beginning of feature json

"elements": [
    {
        "name": "Fred is able to login",
        "id": "Login;fred-is-able-to-login",
        "line": 10,
        "keyword": "Scenario",
        "description": "",
        "type": "scenario",
        "tags": [
            {
                "name": "@success_login",
                "line": 9
            },
            {
                "name": "@smoke",
                "line": 9
            }
        ]
    },