eUnit 1.0.0 Released

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.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s