Questions Tagged With testhttps://answers.axonivy.com/tags/test/?type=rssquestions tagged <span class="tag">test</span>enThu, 09 Jan 2020 08:27:30 -0500Jacoco in Maven Buildhttps://answers.axonivy.com/questions/4312/jacoco-in-maven-build<p>Hello, I have been trying to get Jacoco to work with the maven build, because we used sonarqube to as part of our process and we need code coverage metrics. However, no matter what I do, Jacoco is always analyzing zero classes.</p> <p>Is there anything we can do for this?</p>TareqKThu, 09 Jan 2020 08:27:30 -0500https://answers.axonivy.com/questions/4312/jacoco-in-maven-buildmaventestciunit-testMocking SOAP web serviceshttps://answers.axonivy.com/questions/2936/mocking-soap-web-services<p>My Ivy project needs to call a SOAP web service but I can’t connect to the server where this web service runs. The only thing I have is the corresponding .wsdl file.</p> <p>Can I use it to mock the web service for development and testing?</p>SupportIvyTeamFri, 27 Oct 2017 10:20:49 -0400https://answers.axonivy.com/questions/2936/mocking-soap-web-servicestestwebservice504 Gateway Time-out on guidelines.axonivy.com/projects/guides/wiki/Continues_Integrationhttps://answers.axonivy.com/questions/2219/504-gateway-time-out-on-guidelines-axonivy-com-projects-guides-wiki-continues_integration<p><a href="https://guidelines.axonivy.com/projects/guides/wiki/Continues_Integration">https://guidelines.axonivy.com/projects/guides/wiki/Continues_Integration</a></p> <p>I'm looking to implement unit test, integration test and continuous integration so looking for guidelines, I thought I found it but look like the wiki is not working.</p>RemiMorinFri, 25 Nov 2016 19:31:00 -0500https://answers.axonivy.com/questions/2219/504-gateway-time-out-on-guidelines-axonivy-com-projects-guides-wiki-continues_integrationtestunit-testcibuildHow to start the Ivy Server in plain Java?https://answers.axonivy.com/questions/1187/how-to-start-the-ivy-server-in-plain-java<p>There are several questions regarding how to access to Ivy environment JUnit tests but there is no elegant solution so far.</p> <p>In Ivy Designer, if I start the Ivy Server and then start run JUnit tests, the Ivy Server will be automatically stopped. I'm trying to find a way to avoid this (and not sure if there is).</p> <p>I'm trying to implement a JUnit <code>TestRunner</code> which could start the Ivy Server programmatically but as of now, I don't know the way. What I could found is:</p> <p><code>IServer server = ServerFactory.createEclipseEmbeddedTestServer(); server.start(null); &lt;-- stuck here since I don't know how to instantiate IProgressMonitor</code></p> <p>My questions are:</p> <ul> <li>Is it possible to configure and run JUnit tests in designer along with the engine?</li> <li>How can we programmatically start a server?</li> </ul> <p>Thanks &amp; Best Regards</p>Genzer HawkerMon, 02 Mar 2015 11:11:00 -0500https://answers.axonivy.com/questions/1187/how-to-start-the-ivy-server-in-plain-javaenginetestjunitivy