Hi, i am wondering if there are tools to support TDD within an xIvy development cycle? My investigations in this area brought no valuable results. 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.) Any ideas to increase test coverage of the xIvy projects (it is near zero at the time) are welcome. Best regards, Mikhail Galyutin. asked 26.03.2014 at 10:48 mgalyutin |
To the comment about unit and functional tests before deployment of a project: There is a something similar like a test framework for processes: https guidelines.soreco.ch/projects/guides/wiki/TestFramework But no guarantees if it works as intended. For unit tests of java clasees you can use JUnit, as usual. answered 28.03.2014 at 14:15 Sergej 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.
(29.03.2014 at 17:45)
mgalyutin
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.
(02.04.2014 at 10:50)
Sergej
|
+1 Module testing (processes), Mocking (Ivy.*) and high Test Coverage, as a goal (unit, integration), are actual topics. Any ideas are welcome.
Sergej answered 26.03.2014 at 11:24 Sergej 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.*?
(26.03.2014 at 13:18)
mgalyutin
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.
(26.03.2014 at 14:26)
Sergej
Is there some automation to run a unit tests/functional tests (i.e. before project deployment)?
(28.03.2014 at 09:38)
mgalyutin
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 26.03.2014 at 10:48
Seen: 7,421 times
Last updated: 02.04.2014 at 10:50