[jboss-user] [JBoss jBPM] - jBPM/Spring/jUnit
do-not-reply at jboss.com
Wed Dec 3 06:24:00 EST 2008
I am working on a application using Spring and jBPM. I'm also using springmodules for jBPM.
The application works fine, but so far I have avoided trying to create jUnit tests for the code that interacts with jBPM. This is in part due to the asynchronous activity associated with that, which makes it difficult to write application level tests.
Now that I've got a better grasp on it all, I'm trying to extend test coverage to include the application process flow elements.
The jUnit tests are base on Spring's AbstractJpaTests, and when the process is started, it should invoke the start-task assigment handler, but I get a DelegationException. This doesn't happen when the application runs normally.
Having spent about a day searching, reading and debugging, I could do with some clues as to where to look next.
I'd very much appreciate your suggestions. Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193988#4193988
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193988
More information about the jboss-user