title: How do i specify particular step definition file in Cucumber runner class
body: <p>I am trying to glue particular step Definition file with specific feature file in cucumber Options and when I run the test runner class using JUnit Test, it was not considered my step definition file provided in test runner class for execution. Also my console prints the code snippet to develop steps for feature file mentioned in test runner class.</p>
  
  <p>I just created JavaProject, not using maven.</p>
  
  <p>My Feature file path (which consist of 4 different feature files):
  Project/Feature</p>
  
  <p>My StepDefinition file path (which has 4 different step definition files):
  Project/src/StepDefinition</p>
  
  <p>My Runner class file path:
  Project/src/cucumberTest</p>
  
  <p>Here, I want to map feature file 4 with stepDefinition file 4 in runner class</p>
  
  <p>My Runner class code:</p>
  
  <pre><code>package cucumberTest;
  
  import org.junit.runner.RunWith;
  import cucumber.api.CucumberOptions;
  import cucumber.api.junit.Cucumber;
  
  @RunWith(Cucumber.class)
  @CucumberOptions(
          features = "Feature/Test4.feature"
          ,glue = {"stepDefinition/Test4_Step"}
          ,monochrome = true
          )
  public class Test4_TestRunner {
  
  } 
  </code></pre>
  
  <p>I am new to Cucumber, Can anyone please help me how achieve this?</p>