Thanks... Right on the spot :) 2010/2/24 Mauro Talevi <[email protected]>
> In 2.4 the step matching has become step type aware > > http://jira.codehaus.org/browse/JBEHAVE-196 > > If you change the @When annotation to @Then (or add a method annotated > by @Then) it will work. > > Cheers > > On 24/02/2010 08:56, nino martinez wael wrote: > > Hi Guys > > > > I just upgraded from jbehave 2.3 to 2.4 this morning. And something > > are wrong. Some of our steps are not being picked up, thus giving > > failing tests.. > > > > Heres the java side: > > > > @Then("the user hears phrase $phrase at $location as $promptType") > > public void hearPhrase(String phrase, String location, String > > promptType) { > > ... > > } > > > > @Then("the system prepares for $digit digit input terminatable by > > $terminator") > > public void theSystemPreparesForInput(int digit, String terminator) { > > } > > > > @When("the user enters $input and terminates with $terminator") > > public void inputAndTerminate(String input, String terminator) { > > } > > > > > > > > Heres the steps: > > > > Then the user hears phrase phrase at LETTERID as initializing > > Then the user hears phrase phrase at LETTERID as intro > > Then the system prepares for 7 digit input terminatable by # > > Then the user enters 1234 and terminates with # > > Then the user hears terminator at LETTERID for 1 time > > > > > > This step are pending : "Then the user enters 1234 and terminates with > > #" and I can see it are not being run during the test.. I wonder why? > > It is working in 2.3 > > > > > > regards Nino > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >
