<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Test Drive Development for xIvy Projects?</title><link>https://answers.axonivy.com/questions/589/test-drive-development-for-xivy-projects</link><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;i am wondering if there are tools to support TDD within an xIvy development cycle? My investigations in this area brought no valuable results. &lt;/p&gt;
&lt;p&gt;What i am looking for is the possibility to write the test scenarios for functional processes and automatic test runner to perform the tests on demand or triggered by kind of events (deployment on the server, check in to the version control system etc.)&lt;/p&gt;
&lt;p&gt;Any ideas to increase test coverage of the xIvy projects (it is near zero at the time) are welcome.&lt;/p&gt;
&lt;p&gt;Best regards, &lt;/p&gt;
&lt;p&gt;Mikhail Galyutin.&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/589/test-drive-development-for-xivy-projects" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 02 Apr 2014 10:50:50 -0400</lastBuildDate><item><title>Comment by Sergej on Sergej's answer</title><link>https://answers.axonivy.com/questions/589/test-drive-development-for-xivy-projects#614</link><description>&lt;p&gt;ok understand. But this is the only framework in Ivy I know. We use internal JUnit and a combination of test-sub-processes to compensate a lack of functionality. In addition I'm experimenting with selenium/etc (independent from Ivy) for frontend. &lt;br&gt; A framework stack for TDD in Ivy, I would also like to know.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergej</dc:creator><pubDate>Wed, 02 Apr 2014 10:50:50 -0400</pubDate><guid>https://answers.axonivy.com/questions/589/test-drive-development-for-xivy-projects#614</guid></item><item><title>Comment by mgalyutin on Sergej's answer</title><link>https://answers.axonivy.com/questions/589/test-drive-development-for-xivy-projects#610</link><description>&lt;p&gt;Thanks for sharing. Unfortunately project referenced requires another xtst_ria project from development svn. As far as i understand the idea, project purpose is to supply test runtime environment for web services and callable sub processes. The 'normal' processes are out of the scope.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mgalyutin</dc:creator><pubDate>Sat, 29 Mar 2014 17:45:31 -0400</pubDate><guid>https://answers.axonivy.com/questions/589/test-drive-development-for-xivy-projects#610</guid></item><item><title>Answer by Sergej</title><link>https://answers.axonivy.com/questions/589/test-drive-development-for-xivy-projects/609</link><description>&lt;p&gt;To the comment about unit and functional tests before deployment of a project:&lt;/p&gt;
&lt;p&gt;There is a something similar like a test framework for processes:&lt;/p&gt;
&lt;p&gt;https guidelines.soreco.ch/projects/guides/wiki/TestFramework&lt;/p&gt;
&lt;p&gt;But no guarantees if it works as intended. For unit tests of java clasees you can use JUnit, as usual.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergej</dc:creator><pubDate>Fri, 28 Mar 2014 14:15:41 -0400</pubDate><guid>https://answers.axonivy.com/questions/589/test-drive-development-for-xivy-projects/609</guid></item><item><title>Comment by mgalyutin on Sergej's answer</title><link>https://answers.axonivy.com/questions/589/test-drive-development-for-xivy-projects#596</link><description>&lt;p&gt;Is there some automation to run a unit tests/functional tests (i.e. before project deployment)?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mgalyutin</dc:creator><pubDate>Fri, 28 Mar 2014 09:38:16 -0400</pubDate><guid>https://answers.axonivy.com/questions/589/test-drive-development-for-xivy-projects#596</guid></item><item><title>Comment by Sergej on Sergej's answer</title><link>https://answers.axonivy.com/questions/589/test-drive-development-for-xivy-projects#592</link><description>&lt;p&gt;For example in a unit test (JUnit) a method XYZ() has to be tested. But inside of its method is a call of logger(ch.ivyteam.log.Logger). If unit tests run outside of Ivy environment, Logger should be mocked, to not distort the results of a test. That was ment.
&lt;br&gt;
Inside of processes (f.e. functional) we try to implement other "test processes", to test transformation of data inside of particular-processes (sub-processes). We call them (test processes) from outside and they are only for testing purposes. Like unit tests with asserts.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergej</dc:creator><pubDate>Wed, 26 Mar 2014 14:26:21 -0400</pubDate><guid>https://answers.axonivy.com/questions/589/test-drive-development-for-xivy-projects#592</guid></item><item><title>Comment by mgalyutin on Sergej's answer</title><link>https://answers.axonivy.com/questions/589/test-drive-development-for-xivy-projects#591</link><description>&lt;p&gt;In my test case i am trying to implement, intention is to check if a particular session method called with parameters expected. Is it what you mean by mocking Ivy.*?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mgalyutin</dc:creator><pubDate>Wed, 26 Mar 2014 13:18:33 -0400</pubDate><guid>https://answers.axonivy.com/questions/589/test-drive-development-for-xivy-projects#591</guid></item><item><title>Answer by Sergej</title><link>https://answers.axonivy.com/questions/589/test-drive-development-for-xivy-projects/590</link><description>&lt;p&gt;+1 &lt;/p&gt;
&lt;p&gt;Module testing (processes), Mocking (Ivy.*) and high Test Coverage, as a goal (unit, integration), are actual topics.&lt;/p&gt;
&lt;p&gt;Any ideas are welcome.&lt;/p&gt;
&lt;p&gt;&lt;br&gt;
Regards&lt;/p&gt;
&lt;p&gt;Sergej&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergej</dc:creator><pubDate>Wed, 26 Mar 2014 11:24:15 -0400</pubDate><guid>https://answers.axonivy.com/questions/589/test-drive-development-for-xivy-projects/590</guid></item></channel></rss>