Open
Description
Feature: Fail when no scenarios were found
As a test automation developer
I would like cucumber js to fail when it does not detect any scenarios
To make sure that cucumber-js does not falsely report that everything is ok
Current state:
Example: Bad configuration
Given I have badly configured my cucumber-js
When I run my tests
Then Cucumber will not find any test cases
And Exit with code 0
Desired functionality:
Example: Bad configuration exits with error
Given I have badly configured my cucumber-js
When I run my tests from CLI with a special flag
Then Cucumber will not find any tests cases
But it will exit with error code 1
There is a discussion in slack and some people proposed --minimum-tests 1
or --expect-tests