tag:blogger.com,1999:blog-8052011861230054050.post6348353349091394212..comments2023-06-11T06:26:52.760-03:00Comments on Software is art: OSGi - Automated, unit and integration tests with JUnitUnknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8052011861230054050.post-1211761014127350172012-04-14T08:39:08.149-03:002012-04-14T08:39:08.149-03:00I liked your solution Balazs. There are few soluti...I liked your solution Balazs. There are few solutions available to a such kind of mature technology that OSGi and junit are. <br /><br />Software community thanks you!edhttps://www.blogger.com/profile/18303831265353444891noreply@blogger.comtag:blogger.com,1999:blog-8052011861230054050.post-49488970602320512582012-03-26T10:27:02.549-03:002012-03-26T10:27:02.549-03:00Hi,
I have created slightly different solution. I...Hi,<br /><br />I have created slightly different solution. In my case the bundles do not have to be fragments but they have to provide OSGI services with property osgitest=junit4. These services are automatically picked up.<br />There is also a maven plugin that starts up a OSGI containers with PAX Exam and installs the bundles (getting from maven dependencies) and runs JUnit tests. It is available at <a href="http://projects.everit.biz/everit-osgi/testing/index.html" rel="nofollow">http://projects.everit.biz/everit-osgi/testing/index.html</a>. It is licensed under LGPL. In case you are interested I suggest to start with step-by-step guide on the left.<br /><br />Regards,<br />Balazs ZsoldosBalazs Zsoldoshttps://www.blogger.com/profile/07883654259084804549noreply@blogger.com