AnsweredAssumed Answered

[Sticky] How to write a unit test

Question asked by jbarrez on Sep 24, 2012
Latest reply on May 9, 2016 by sagarsharma134
When encountering a bug in Activiti, the easiest way to reach the Activiti team and see it fixed is to create an issue in the Activiti Jira (http://jira.codehaus.org/browse/ACT).

Of course, a good description on how to reproduce the problem is crucial. But to make it really interesting for us (and to speed up things), the issue is accompanied by a unit test demonstrating the problem.

To simplify this process, we've created a 'unit test template' project which you can use: https://github.com/Activiti/activiti-unit-test-template
Add your failing unit test, zip up the project and attach it to the issue.

More about this template, read http://www.jorambarrez.be/blog/2012/09/24/how-to-write-a-unit-test/

Outcomes