cucumber/cucumber-jvm — Issue #146: Using a Single Test Class for All Features
Author: patrickmcmichael
Created: 2012-01-17 16:14:21+00:00
State: open

I've upgraded to RC6, and am trying to use the new[er] capability of one test class for all features.

I have:

@RunWith(Cucumber.class)
@Feature(value = "features/", packages = { "cucumber.runtime.java.spring.hooks" })
public class RunCukesTest {
}

It finds the features, and JUnit output in Eclipse shows all appropriate features and scenarios, but all tests are ignored.

I have a stepdefs class for one of my two .feature files in the same package as the test class. I expected to get a run for that feature and log output with the regex snippets needed for the stepdefs of the second feature, as before with 1.0.0-SNAPSHOT.

For some reason, I only see my tests being ignored. Any ideas?