This is a simple example of how to use Cucumber-JVM in a real-world scenario. It tests one of ITV's live feeds.
Running the example
Please ensure that you have Maven installed.
Do the following in the same directory as the pom.xml file:
The tests will then run.
The Cucumber runtime parses command line options to know what features to run, where the glue code lives, what formatters to use etc. When you use the JUnit runner, these options are generated from the
@Cucumber.Options annotation on your test.
For reference, the
@Cucumber.Options annotation in this project lives in