Running Plugin JUnit Tests without having org.junit in Target Platform?? [message #312352] |
Wed, 07 February 2007 11:22  |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
Hello to all,
On Eclipse 3.2, I have defined a minimal target platform for my rcp app
without including org.junit plugin (the plugin set that I use to run
the built app).
The reason for this is, that I want to have identical plugin sets
in development as later in the built product.
My separate Junit Plugin tests have errors now (because
they have the org.junit-Plugin in their plugin dependencies.
So I removed the dependency and added the org.junit plugin via
the JUNIT_HOME Variable to by Java Build path.
Now the plugin tests compile again.
---> The result is a ClassDefNotFound-Error when running the plugin
tests (since the org.junit is not in the target platform).
(java.lang.NoClassDefFoundError: junit/framework/TestCase)
Adding org.junit to the target platform and adding the plugin dependency
to the test plugins again solves the problem.
My question is now: Is this solvable without adding org.junit to the
target platform?
Regards,
Peter
|
|
|
|
Powered by
FUDForum. Page generated in 0.03415 seconds