All parts of the Eclipse project have JUnit tests that are run automatically during the build process. This is true whether they involve the UI workbench or resources workspace or none of the above. You can look at the Equinox tests for examples of such test suites (not related to the workspace or workbench). The help contains information on running plugin junit tests
http://help.eclipse.org/help32/topic/org.eclipse.pde.doc.user/guide/tools/launchers/junit_launcher.htm
Jeff
Nikunj Mehta <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 11/08/2006 02:53 PM
|
|
It is not obvious how one would use the Eclipse PDE for unit testing
non-Eclipse plugin bundles. Isn't workspace and workbench testing all
that Eclipse PDE Unit tests can be used for? If not, is there a document
describing this?
Thanks,
Nikunj
Jeff McAffer wrote:
>
> The Eclipse Plugin Development Environment (PDE) has explicit support
> for this
>
> Jeff
>
>
>
> *Nikunj Mehta <[EMAIL PROTECTED]>*
> Sent by: [EMAIL PROTECTED]
>
> 11/08/2006 10:00 AM
> Please respond to
> OSGi Developer Mail List <osgi-dev@bundles.osgi.org>
>
>
>
> To
> osgi-dev@bundles.osgi.org
> cc
>
> Subject
> [osgi-dev] Unit testing
>
>
>
>
>
>
>
>
>
> How do you combine unit testing with bundle development? Is there a nice
> integration of JUnit and OSGI that is widely used for this?
>
> I find it a particularly thorny issue since both JUnit and OSGI assume
> complete control of the running process, class loading, object
> instantiation, and threads.
>
> Thanks,
> Nikunj
> _______________________________________________
> OSGi Developer Mail List
> osgi-dev@bundles.osgi.org
> http://bundles.osgi.org/mailman/listinfo/osgi-dev
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> OSGi Developer Mail List
> osgi-dev@bundles.osgi.org
> http://bundles.osgi.org/mailman/listinfo/osgi-dev
>
_______________________________________________
OSGi Developer Mail List
osgi-dev@bundles.osgi.org
http://bundles.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________ OSGi Developer Mail List osgi-dev@bundles.osgi.org http://bundles.osgi.org/mailman/listinfo/osgi-dev