Don't know about Easymock and
Powermock, but in case of Junit, You must add a Require-Bundle:
org.junit in your test bundle manifest.
cheers,
Cristiano
On 23/10/12 08:19, Markward Schubert wrote:
Hi folks!
Does anybody of you have some experience with doing plugin-testing
with Junit, Easymock and Powermock?
I am a bit stuck right now. What I did is, I created a
pluginproject, just wrapping all the necessary jars of the above
mentioned libraries and their dependencies and added it to my p2
target.
When I then run verify, I get the message, stating: "Could not
determine test framework used by test bundle MavenProject".
It seems to manage to find my wrapper-plugin, but actually seems
to search for some special dependency in order to figure out, I am
using JUnit?
Of course I have a test-plugin created, as a fragment to my plugin
to test.