title: junit cucumber missing steps error
body: <p>Java - cucumber example</p>
  
  <p>Looks like i am missing steps, it is complaining about missing steps and considering them as undefined</p>
  
  <p>.feature file:</p>
  
  <pre><code>Feature: Roman Feature
  
    Scenario: Convert Integer to Roman Number
    Given I am on the demo page
    When I pass number 1
    Then the roman result is I
  
  
    Scenario: Convert Integer to Roman Number
    Given I am on the demo page
    When I pass number 5
    Then the roman result is V
  </code></pre>
  
  <p>Steps file:</p>
  
  <pre><code>@When("^I pass number (\\d+)$")
      public void convert_numbers_to_roman(int arg1) throws Throwable {
         // convert number
  
      }
  
  
  
  @Then("^the roman result is (\\d+)$")
      public void the_roman_result_is(int result) throws Throwable {
          // match result
      }
  </code></pre>
  
  <p>When i run the test</p>
  
  <pre><code>  Scenario: Convert Integer to Roman Number [90m# net/xeric/demos/roman.feature:3[0m
      [32mGiven [0m[32mI am on the demo page[0m             [90m# DemoSteps.i_am_on_the_demo_page()[0m
      [32mWhen [0m[32mI pass number [0m[32m[1m1[0m                    [90m# DemoSteps.convert_numbers_to_roman(int)[0m
      [33mThen [0m[33mthe roman result is I[0m
  </code></pre>
  
  <p>6 Scenarios 2 undefined
  You can implement missing steps with the snippets below:</p>
  
  <pre><code>@Then("^the roman result is I$")
  public void the_roman_result_is_I() throws Throwable {
      // Write code here that turns the phrase above into concrete actions
      throw new PendingException();
  }
  </code></pre>