You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maven Surefire and Gradle do not yet support discovery of non-class
based tests[1][2]. As a workaround you can either use the `@Cucumber`
annotation or the JUnit Platform Console Launcher.
Cucumber will scan the package of a class annotated with `@Cucumber`
for feature files.
```java
package com.example.app;
import io.cucumber.junit.platform.engine.Cucumber;
@cucumber
public class RunCucumberTest {
}
```
1. gradle/gradle#4773
2. https://issues.apache.org/jira/browse/SUREFIRE-1724
0 commit comments