[jboss-user] [jBPM] - Re: Unit testing JBPM processes

Mauricio Salatino do-not-reply at jboss.com
Thu Mar 31 04:57:40 EDT 2011

Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the discussion

"Re: Unit testing JBPM processes"

To view the discussion, visit: http://community.jboss.org/message/596728#596728

Hi, in jBPM5 you have the concept of work item. Using that you can provide different implementations of your services that can run in different environments. Creating a workitemHandler that mock your services and another one that do the real thing, will help you to test your business processes without changeing them when you need to test them.
I was creating a simple project to be able to easily test processes, but I think that kris will probably do something similar and include it in the master repository for the next version. Take a look at:
 https://github.com/Salaboy/JBPM5-Test-Framework https://github.com/Salaboy/JBPM5-Test-Framework

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110331/46088ca4/attachment.html 

More information about the jboss-user mailing list