Hi Christopher, from JBehave's point of view the Steps classes are just POJO instances and the responsibility of their creation is delegated to the container.
Therefore, you should be able to use any attributes your container supports at class level. Cheers On 19/02/2010 14:05, Christopher Gardner wrote: > Are transactional attributes supported? They would certainly make > @Given's less verbose in the case of say JPA for setup. > > On Fri, Feb 19, 2010 at 5:58 AM, Mauro Talevi > <[email protected]> wrote: >> Hi all, >> >> Steps class-level dependency injection is now supported in JBehave 2.5: >> >> http://jbehave.org/reference/latest/dependency-injection.html >> >> It supports 3 major containers most widely used (Pico, Spring, Guice). >> Each container support is provided via a separate extension module. >> >> The trader example has been updated to show the behaviour for all 3 >> containers (using the same Steps classes used without dependency injection). >> >> A snapshot of latest revision has been deployed. Feedback is most >> welcome as always. For those that can't use snapshots we could deploy a >> beta. >> >> Cheers >> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
