I have released eUnit version 1.0.0. eUnit is a utility framework to assist with JUnit testing in an OSGi environment. The primary feature available in this first version is a JUnit @Rule for locating an OSGi service. Here is a simple example:
@Rule public ServiceLocator<LogService> logServiceLocator = new ServiceLocator<LogService>(LogService.class); private LogService logService; public SystemTest { @Before public void setUp() { logService = logServiceLocator.getService(); } }
This framework is the result of a large refactoring of my MongoEMF framework. I have split that project into smaller, standalone, projects and I will be releasing additional content over the next couple of months.