Deprecated API

Contents

  • Deprecated Annotation Interfaces
    Annotation Interface
    Description
    Please use the JUnit Platform Suite to run Cucumber in combination with Surefire or Gradle. E.g:
    
     package com.example;
    
     import org.junit.platform.suite.api.ConfigurationParameter;
     import org.junit.platform.suite.api.SelectPackages;
     import org.junit.platform.suite.api.Suite;
    
     import static io.cucumber.junit.platform.engine.Constants.GLUE_PROPERTY_NAME;
    
                 @Suite
                 @SelectPackages("com.example")
                 @ConfigurationParameter(
                 key = GLUE_PROPERTY_NAME,
                 value = "com.example")
                 final class RunCucumberTest {
                 }