Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Developing OSGi tests can be definitely boring. First, testing is generally not a very exciting experience, but imagine if you have to handle all the OSGi issues in your tests... Don't worry junit4osgi provides methods allowing to interact easily with OSGi!

Div
classtoc
Table of Contents
maxLevel4
minLevel2
Wiki Markup
{div:class=toc} {toc:maxLevel=4|minLevel=2} {div}

OSGi methods

junit4osgi test case extends the OSGiTestCase class. This class provides useful methods allowing to find services, get them, get the PackageAdmin service... The description of these methods can be found afterward.

...