Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
titleExample
@RunWith(Cucumber.class)
@CucumberOptions(
        features = "src/test/java/be/imec/hie/features/eHealthBox",
        glue = {"be.imec.hie.steps"},
        plugin = {"json:target/cucumber-report/report.json",
                "pretty",
                "io.qameta.allure.cucumber4jvm.AllureCucumber4Jvm"},
        strict = true,
        tags = {"not @ignore"}
)

public class EHealthBoxTestRunner {
    // Additional configuration code
}


Integration within the test automation framework

Cucumber has been integrated to the framework using maven dependencies and used for the SOAP integration testing.

Within the project, you can find the code using Cucumber in the SOAP project, under :

  • src/test/java/be/imec/hie/features for the feature files
  • src/test/java/be/imec/hie/steps for the steps definition
  • src/test/java/be/imec/hie/runners for the feature runners

Further information

Cucumber has their own documentation following this link : https://cucumber.io/docs