Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Include Page
FELIX:apache-felix-ipojo-headerFELIX:
apache-felix-ipojo-header

...

Testing components is a required step in the application development process. This page explains strategies to test iPOJO-based components and applications.

Introduction

Basically, we can distinguish two 2 types of tests:

  • Unitary tests
  • Integration tests

...

Once every component has its unitary test suite (isn't it?), you can go further and creates integration test. In order to check the behavior of the system, iPOJO provides the junit4osgi framework. This framework allows the executing of Junit test inside OSGi. Refer to the Junit4OSGi page to know how to use it.

Moreover, OPS4J Pax Exam can also be used to test iPOJO components.



Include Page
FELIX:apache-felix-ipojo-footerFELIX:
apache-felix-ipojo-footer