Questions Tagged With unit-testhttps://answers.axonivy.com/tags/unit-test/?type=rss&user=Daniel%20Oechslinquestions tagged <span class="tag">unit-test</span>enWed, 04 Dec 2013 09:07:18 -0500Solution: How to Unit-Testhttps://answers.axonivy.com/questions/166/solution-how-to-unit-test<p>Hi there</p> <p>I twiddled a bit and found a solution how to unit-test. It is not the fancy graphical way but there is all you need and it is fairly customizable.</p> <ol> <li>Create a new business-process </li> </ol> <p><img alt="Workflow" src="http://s24.postimg.org/58g8l9gn9/Workflow.jpg"></p> <ol> <li>Create a execution listener <br> Download: <a href="http://www.file-upload.net/download-8362431/ExecutionListener.java.html">ExecutionListener</a></li> <li>Create the Testrunner class <br> Download: <a href="http://www.file-upload.net/download-8362430/UnitTestRunner.java.html">UnitTestRunner</a></li> </ol> <p>How the result may look like: </p> <p><img alt="alt text" src="http://s8.postimg.org/752yicuph/Output.jpg"></p> <p>Resources:</p> <pre><code> [1]: http://s24.postimg.org/58g8l9gn9/Workflow.jpg [2]: http://www.file-upload.net/download-8362431/ExecutionListener.java.html [3]: http://www.file-upload.net/download-8362430/UnitTestRunner.java.html [4]: http://s8.postimg.org/752yicuph/Output.jpg </code></pre>Daniel OechslinWed, 04 Dec 2013 09:07:18 -0500https://answers.axonivy.com/questions/166/solution-how-to-unit-testunit-test