title: Calling one feature file from another feature in cucumber
body: <p>Consider I have below feature files:</p>
  <p>Login.feature</p>
  <p>Feature: Login on website</p>
  <p>Scenario: Login verification on site</p>
  <ul>
  <li>Given Navigate to site login page</li>
  <li>When User enters username 'admin1'</li>
  <li>And User enters password 'admin1'</li>
  <li>And User clicks on login button</li>
  <li>Then User should not be able to log in successfully</li>
  </ul>
  <p>Home.feature</p>
  <p>Feature: Welcome Page Verification</p>
  <p>Scenario: Verify the page that comes after login</p>
  <ul>
  <li>Given Login is successfully done</li>
  <li>When  The page after login successfully appears</li>
  <li>Then  The test is done</li>
  </ul>
  <p>In Home.feature file, I need to execute Login.feature first and then call home.feature. So when i execute home from my runner test it will in turn execute login and then home.</p>
  <p>RunnerTest.java</p>
  <pre><code>import org.junit.runner.RunWith;
  
  import cucumber.api.CucumberOptions;
  import cucumber.api.junit.Cucumber;
  
  @RunWith(Cucumber.class)
  
  
  @CucumberOptions(strict = false, features = {
          &quot;src/test/resources/Features/Home.feature&quot;,
              }, glue = { &quot;tests&quot; }, plugin = &quot;html:target/cucumber-reports&quot;, format = { &quot;pretty&quot;,
          &quot;json:target/cucumber.json&quot; }, tags = { &quot;~@ignore&quot; })
  
  public class RunnerTest {}
  </code></pre>