Sathish - faced the same thing in the spring-security example. Have a look at that code - has JUnitStory(ies) and are run from maven.
Brian ----- Original message ----- From: "Paul Hammant" <[email protected]> To: [email protected] Cc: "Sathish Kumar" <[email protected]> Date: Fri, 25 Feb 2011 08:47:18 -0600 Subject: Re: [jbehave-user] Running JBehave 3.2 stories with Maven Satish, Mauro is right - look at the tutorial. Unfortunately for you it is moving ahead of the 3.2 release presently. Look at [1]https://github.com/paul-hammant/jbehave-3.2-tutorial which is guaranteed to be pegged to the 3.2 release. - Paul On Fri, Feb 25, 2011 at 8:12 AM, Sathish Kumar <[2][email protected]> wrote: Hi, I'm having a hard time trying to run JBehave tests with Maven. I have stories in **/stories/*.story with a corresponding JUnitStory for each. I have extended JUnitStories which runs all tests on the IDE. I have extended AnnotatedEmbeddedRunner which also runs on the IDE. I'm having a hard time choosing an approach from the hundreds of awesome but none too useful for the beginner approaches in [3]http://jbehave.org/reference/stable/running-stories.html Can someone point me to a simple no-nonsense way to running tests in Maven. I didnt find the Examples in JBehave useful either because they also focus on Can run in hundreds of ways approach. Thanks, Sathish References 1. https://github.com/paul-hammant/jbehave-3.2-tutorial 2. mailto:[email protected] 3. http://jbehave.org/reference/stable/running-stories.html --- Brian Repko LearnThinkCode, Inc. http://www.learnthinkcode.com email: [email protected] phone: +1 612 229 6779
