Hi Laura, This is currently a known issue ( http://jbehave.org/documentation/known-issues/regex-stack-overflow/). We had the same problem here, and we split the scenario into different scenario files.
Cheers, On Tue, Mar 10, 2009 at 3:18 PM, Laura Vendramini <[email protected]>wrote: > Hey, > > Is there a limit on how many characters can be in a scenario? Or any > limit at all? I am getting a stackOverflow error when I run my > scenario... I tried adding new lines (failed), removing lines > (passed), removing characters (passed), and adding characters (failed) > I did a character count and it was 716 which seems like an odd > limit... > > Here is my scenario... > > Scenario: Generate an ID based on an action object > > Given an action CustomerDetails to be saved > And the action has 2 forms PersonalDetails and ContactDetails > And the forms PersonalDetails contains 2 elements FirstName and LastName > And the forms ContactDetails contains 2 elements Email and Phone > And the action has a single transaction pattern > And the transaction pattern contains a mapping FirstName to FirstName > for Customer Concept > And the transaction pattern contains a mapping LastName to LastName > for Customer Concept > And the transaction pattern contains a mapping Email to Email for > Customer Concept > And the transaction pattern contains a mapping Phone to Phone for > Customer Concept ABKLM > When request to generate an ID > Then ID returned should be true for not being empty > > Any ideas??? > > Laura > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > -- ___________________ Alexandre Martins http://blog.m.artins.net
