0

I am looking into integration testing frameworks for OSGi applications. From here, I've started looking into two main options: PaxExam and SpringDM. Now from where I'm standing, these frameworks look like they do the same thing: start an OSGi framework, inject your bundles, dynamically deploy your tests to a bundle, and then run that in the OSGi container. Sound right?

Does anyone have any practical experience using one or both of these tools? Which would you recommend? Can you specify any important difference between these two frameworks?

Thanks.

Community
  • 1
  • 1
Oleksi
  • 12,947
  • 4
  • 56
  • 80

1 Answers1

2

Pax Exam is more flexible. It's possible to run tests for various combinations of OSGi Container-Version (PaxRunner option). Also possible to run an OSGi container from class path (Native runner = SpringDM).

Regards, Dmytro

earcam
  • 6,662
  • 4
  • 37
  • 57
Dmytro Pishchukhin
  • 2,369
  • 1
  • 14
  • 19
  • +1 Dmytro, PaxExam is fantastic though it's a little hard to workout from the documentation what's still applicable (now on version 2.4). That said the ops4j pax community are very responsive on mailing lists and jira. Well worth the initial learning curve IMO. – earcam Feb 10 '12 at 12:49