Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Testing Bundles with JUnit, Easymock and Powermock

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.

Any Help is appreciated!

Cheers,
Markward


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top