Skip to main content



      Home
Home » Eclipse Projects » Kura » Any recommened unit tests tools for Kura?
Any recommened unit tests tools for Kura? [message #1748387] Tue, 22 November 2016 11:44 Go to next message
Eclipse UserFriend
Hello,

How can I test my Kura bundle? modular tests and integration tests
In Java application I used to use Junit to test each class of my application. Can I use the same in kura bundle?

Or is there any recommeneded tools and approache?

Thanks!
Best,
Sabrina
Re: Any recommened unit tests tools for Kura? [message #1748412 is a reply to message #1748387] Tue, 22 November 2016 16:01 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sabrina,

JUnit works fine for testing OSGi bundles. Have a look at this setup [1] for how we test our new Apache Camel integration.

[1] https://github.com/eclipse/kura/tree/develop/kura/org.eclipse.kura.camel.test

Thanks,
--Dave
Re: Any recommened unit tests tools for Kura? [message #1748882 is a reply to message #1748412] Tue, 29 November 2016 12:25 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

Thanks, this is for integration tests but what about unit tests?
Does it work if I do the same as a regular java application means that in the same bundle I will be having the two directories:
* src: for source
* test: for unit tests

Best,
Sabrina
Re: Any recommened unit tests tools for Kura? [message #1748896 is a reply to message #1748882] Tue, 29 November 2016 15:33 Go to previous message
Eclipse UserFriend
Hi Sabrina,

Yes, that should all work exactly the same. If you have problems with it let me know.

Thanks,
--Dave
Previous Topic:Setting Up Kura and Wifi on RPi 3 Model B
Next Topic:kura log files
Goto Forum:
  


Current Time: Sat Nov 08 07:39:25 EST 2025

Powered by FUDForum. Page generated in 0.03963 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top