I'm trying to get spring integration working by using annotations such
as @UsingSpring in my Stories-class. The annotations do not seem to do
anything, and my stories are found but 0 scenarios are run. If I do
not use the annotations, and implement createContext() manually as in
example org.jbehave.examples.trader.spring.TraderStoriesUsingSpring,
scenarios are run fine.
I'm trying to figure out the correct configuration by looking at the
latest examples. Are the examples other than
"TraderStoriesUsingSpring" broken? For example
AnnotatedEmbedderUsingSpring
AnnotatedEmbedderUsingSpringAndSteps
AnnotatedEmbedderUsingSpringNamespace
If I change the example's pom.xml from
<include>**/TraderStoriesUsingSpring.java</include>
(which produces correct results) to for example
<include>**/AnnotatedEmbedderUsingSpring.java</include>
running jbehave-src\src\examples\trader-spring>mvn -s
..\..\settings.xml clean install -Pexamples results in
[INFO] Reports view generated with 0 stories (of which 0 pending)
containing 0 scenarios (of which 0 pending)
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email