Christopher Gardner wrote:
I added scenarioexcludes="**/*Steps.java" to circumvent this problem.
Forgive me if this is in the doc, but what it is the difference
between the scopes and why would you choose one over the other?


Scope simply tells JBehave where to look for the Scenario classes to run, either in the main src tree (compile scope) or in the test src tree (test scope). This is because some users prefer to run scenarios as a separate integration test module, others as tests within a given module.
Note that it looks for the java source, not the compiled class file.

So the choice of the scope is directly determined by the src layout you've adopted.

Cheers



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to