We would like to be able to run junit 3.8 tests on the OSGi/Minimum and
Micro Edition execution environments, but this is currently not possible.
(1) junit.jar includes utility classes that depend on awt and swing
packages that are not in those execution environment.
(2) the implementation of junit depends on methods not in OSGi/Minimum in
a few places
example: the method compare(double, double) is undefined for the type
Double, junit/framework/Assert.java, line 95, in junit 3.8.2
This limitation could be removed fairly easily by (a) amending the
implementation for problem 2 and (b) splitting up junit in two jars such
that the base jar contains only the OSGi/Minimum compatible subset.
Get latest updates about Open Source Projects, Conferences and News.