I don't know if this is related to your problem, but I once had a trouble getting tycho-surefire-plugin to see my tests. As it turned out, even though I use JUnit4, Tycho only looks for test classes named **/Test*.java **/*Test.java
**/*TestCase.java and by default doesn't even check other files. The solution was to rename the test classes so that they match these patterns. According to docs, it should be possible to configure a different inclusion pattern too: .
Kind regards, Mikhail Kalkov
From: "Markward Schubert" <markward.schubert@xxxxxxxxx> To: "Tycho user list" <tycho-user@xxxxxxxxxxx> Sent: Tuesday, October 23, 2012 3:26:10 PM Subject: 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.
On 23/10/12 08:19, Markward Schubert wrote:
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
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
Of course I have a test-plugin created, as a fragment to my plugin