: Point the features attribute to the directory containing your .feature files.
To "put together" or run multiple files for a project like Contagion (often associated with software testing frameworks like Cucumber or game modding scripts), you typically need to use a Runner Class or a specific folder structure . 🛠️ Step-by-Step Implementation 1. Using a JUnit Runner Class
If you are packaging these for a release (like a mod or a distribution), follow a standard layout: : Place all .feature files here.
@RunWith(Cucumber.class) @CucumberOptions( features = "src/test/resources/features", // Path to your feature folder glue = {"stepDefinitions"}, // Path to your step definition package plugin = {"pretty", "html:target/report.html"} ) public class TestRunner { } Use code with caution. Copied to clipboard 2. Organizing the Zip Structure