{"action":"created","issue":{"url":"https://api.github.com/repos/cucumber/cucumber-js/issues/391","labels_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/391/labels{/name}","comments_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/391/comments","events_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/391/events","html_url":"https://github.com/cucumber/cucumber-js/issues/391","id":101899434,"number":391,"title":"Getting multiple features to work","user":{"login":"lcbotha","id":9979267,"avatar_url":"https://avatars.githubusercontent.com/u/9979267?v=3","gravatar_id":"","url":"https://api.github.com/users/lcbotha","html_url":"https://github.com/lcbotha","followers_url":"https://api.github.com/users/lcbotha/followers","following_url":"https://api.github.com/users/lcbotha/following{/other_user}","gists_url":"https://api.github.com/users/lcbotha/gists{/gist_id}","starred_url":"https://api.github.com/users/lcbotha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcbotha/subscriptions","organizations_url":"https://api.github.com/users/lcbotha/orgs","repos_url":"https://api.github.com/users/lcbotha/repos","events_url":"https://api.github.com/users/lcbotha/events{/privacy}","received_events_url":"https://api.github.com/users/lcbotha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-19T13:54:58Z","updated_at":"2015-09-03T13:19:04Z","closed_at":null,"body":"The VolatileConfiguration object is the one used by the Cucumber constructor. Which in turn is the constructor one can invoke to quickly instantiate a Cucumber.js runner.\r\n\r\nWhen looking at the implementation at https://github.com/mucsi96/nightwatch-cucumber, they are implementing it in this way:\r\n```javascript\r\nruntime = Cucumber(getFeatureSources(), getSupportCodeInitializer());\r\n\r\nruntime.getFeatures().getFeatures().forEach(function(feature, next) {\r\n    createTestFile(feature);\r\n    feature.instructVisitorToVisitScenarios({\r\n        visitScenario: function(scenario) {\r\n            var steps = [];\r\n            scenario.getSteps().forEach(function(step, next) {\r\n                var stepExecutor = getStepExecutor(step);\r\n\r\n                if (stepExecutor) {\r\n                    steps.push(stepExecutor);\r\n                }\r\n                next();\r\n            }, function() {\r\n                discoverScenario(feature, scenario, steps);\r\n            });\r\n        }\r\n    });\r\n}, function() {});\r\n```\r\n\r\nNo matter what I do I can't seem to get cucumber to execute all the features. It only executes the first test. I've tried passing in the options parameters to Cucumber with specific tags for my features but it still doesn't work. Somehow it keeps on executing only one feature instead of all of them.\r\n"},"comment":{"url":"https://api.github.com/repos/cucumber/cucumber-js/issues/comments/137441022","html_url":"https://github.com/cucumber/cucumber-js/issues/391#issuecomment-137441022","issue_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/391","id":137441022,"user":{"login":"louiscbotha","id":13942983,"avatar_url":"https://avatars.githubusercontent.com/u/13942983?v=3","gravatar_id":"","url":"https://api.github.com/users/louiscbotha","html_url":"https://github.com/louiscbotha","followers_url":"https://api.github.com/users/louiscbotha/followers","following_url":"https://api.github.com/users/louiscbotha/following{/other_user}","gists_url":"https://api.github.com/users/louiscbotha/gists{/gist_id}","starred_url":"https://api.github.com/users/louiscbotha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/louiscbotha/subscriptions","organizations_url":"https://api.github.com/users/louiscbotha/orgs","repos_url":"https://api.github.com/users/louiscbotha/repos","events_url":"https://api.github.com/users/louiscbotha/events{/privacy}","received_events_url":"https://api.github.com/users/louiscbotha/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T13:19:04Z","updated_at":"2015-09-03T13:19:04Z","body":"This issue was fixed in the https://github.com/mucsi96/nightwatch-cucumber repository."}}