Hi,

Is it possible to skip characters in the scenario (the plain text file) ?
Reason been, that I am trying to annotate the text files and would like
JBehave to ignore them. For instance, can I add "When the user types
~lalalal~" and get JBehave to ignore the ~ when parsing the file.

I've looked at adding a new keyword (of the type "other") and passing it
along when defining the scenario:

@Override
public ScenarioDefiner forDefiningScenarios() {
    return new ClasspathScenarioDefiner(resolver, new
PatternScenarioParser(keywords()));
}

but, it seems that the Keyword class cannot except new keywords of the type
"other".

Is there a way to achieve this?

Thanks,
Pran.

Reply via email to