OSGi测试 [英] OSGi Testing
问题描述
目前,我正在开发一个新的版本控制系统,作为大学最后一年项目的一部分。我们的想法是使其具有高适应性和可插拔性。
Currently, I am working on a new version control system as part of a final year project at University. The idea is to make it highly adaptable and pluggable.
我们正在使用OSGi框架(Equinox实现)来管理我们的插件。我的问题是我找不到一个简单的&易于使用的测试OSGi包的方法。
We're using the OSGi framework (Equinox implementation) to manage our plug ins. My problem is that I can't find a simple & easy to use method for testing OSGi bundles.
目前,我必须使用Maven构建包,然后执行测试工具。我正在寻找像Eclipse的JUnit测试运行器这样的东西,因为它会节省我很多时间。
Currently, I have to build the bundle using Maven and then execute a test harness. I'm looking for something like the JUnit test runner for Eclipse, as it will save me a bunch of time.
有没有一种快速简便的方法来测试OSGi包?
Is there a quick and easy way to test OSGi bundles?
编辑:我不需要测试Eclipse插件或GUI组件,只需要测试OSGi包。
I don't need something to test Eclipse plug ins or GUI components, just OSGi bundles.
EDIT2:是否有一些框架支持JUnit4?
Is there some framework that supports JUnit4?
推荐答案
Spring Dynamic Modules非常支持测试OSGi包。
Spring Dynamic Modules has excellent support for testing OSGi bundles.
这篇关于OSGi测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!