Hi Mauro, Even if I give a new line [press enter] before GivenStories, its not working correctly. For below scenario Meta: @storyName ReuseBitrate
GivenStories:EndToEnd.story I am getting storyName as (with new line) = " ReuseBitrate GivenStories:EndToEnd.story" Regards Ajay In this case, storyName is printed as , On 9 October 2012 21:04, Mauro Talevi <mauro.tal...@aquilonia.org> wrote: > Just add a newline before GivenStories. > > This will allow the parser to know that the Meta section had ended. Meta > tags can in principle be across multiple lines. > > > On 9 Oct 2012, at 15:25, अजय सिंह <sir...@gmail.com> wrote: > > > > > > > Hi, > > > > For one of my story, I have define story file as below > > > > Meta: > > @storyName ReuseBitrate > > GivenStories:EndToEnd.story > > > > Scenario: Verifying ReuseBitrate functionality > > Given Step1 > > Then Step2 > > > > > > And in BeforeAndAfter Story > > @BeforeScenario > > public void beforeScenario( @Named("storyName") String > storyName) { > > > > System.out.println("StoryName "+storyName) > > > > } > > > > The Story Name is printed as > > ReuseBitrate > > GivenStories:EndToEnd.story > > > > I think this is because of no end of line character for @storyName > ReuseBitrate > > > > UPDATE: > > I added dummy meta tag after story name as below > > Meta: > > @storyName ReuseBitrate > > @dummy > > GivenStories:EndToEnd.story > > > > and it was working.But this is not the right way.Isnt it??? > > > > Thansk > > Ajay > > > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >