title: no tests executed after migrating to cucumber 7.x
body: <p>I upgraded recently my Spring Boot project to the latest cucumber-java (7.2.3), and I am facing some issues.</p>
  <p>I am able to have the expected behavior, but only by using the now deprecated <code>@Cucumber</code> annotation. the <a href="https://github.com/cucumber/cucumber-jvm/blob/517c5fb01f3911d4d968ea8b82d91c8eba657063/junit-platform-engine/src/main/java/io/cucumber/junit/platform/engine/Cucumber.java#L26" rel="nofollow noreferrer">deprecation note</a> says that we should &quot;<em>use the JUnit Platform Suite to run Cucumber</em>&quot;</p>
  <p>unfortunately, there are not many examples available (most of them refer to previous versions).</p>
  <p>my working code with the deprecated annotation is simply :</p>
  <pre><code>package service.test.acceptance;
  
  import io.cucumber.junit.platform.engine.Cucumber;
  
  
  @Cucumber
  public class RunCucumberIntegrationTest {
  }
  </code></pre>
  <p>with these dependencies :</p>
  <pre><code>  testImplementation group: 'io.cucumber', name: 'cucumber-java', version: libraryVersions.cucumber
    testImplementation group: 'io.cucumber', name: 'cucumber-junit', version: libraryVersions.cucumber
    testImplementation group: 'io.cucumber', name: 'cucumber-spring', version: libraryVersions.cucumber
    testImplementation group: 'io.cucumber', name: 'cucumber-junit-platform-engine', version: libraryVersions.cucumber
  </code></pre>
  <p>(and the Junit stuff that comes with Spring Boot Test, so <code>Junit 5.5.2</code> in my case)</p>
  <p>I tried this :</p>
  <pre><code>package service.test.acceptance;
  
  import static io.cucumber.junit.platform.engine.Constants.GLUE_PROPERTY_NAME;
  
  import org.junit.platform.suite.api.ConfigurationParameter;
  import org.junit.platform.suite.api.IncludeEngines;
  import org.junit.platform.suite.api.SelectClasspathResource;
  import org.junit.platform.suite.api.Suite;
  
  @Suite
  @IncludeEngines(&quot;cucumber&quot;)
  @SelectClasspathResource(&quot;service/test/acceptance&quot;)
  @ConfigurationParameter(key = GLUE_PROPERTY_NAME, value =&quot;service.test.acceptance.integration&quot;)
  public class RunCucumberIntegrationTest {
  
  }
  </code></pre>
  <p>I needed to add these 2 dependencies so tht it compiled :</p>
  <pre><code>testImplementation group: 'org.junit.platform', name: 'junit-platform-suite', version: '1.8.2'
  testImplementation group: 'org.junit.platform', name: 'junit-platform-suite-api', version: '1.8.2'
  </code></pre>
  <p>my steps definition are in <code>service.test.acceptance.integration</code> package (in <code>src/test/java</code>), while my feature files are in <code>service/test/acceptance</code> folder (in <code>src/test/resources</code>).</p>
  <p>When I run <code>gradlew test</code>, the build is green, but no test gets executed and there's no warning or anything.</p>
  <p>any idea of what I am missing ?</p>