Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] tycho-surefire-plugin & JUnit Theory

Hello,

I try to build an RCP application with manifest first.
Now I want to test my plugins with JUnit Theroy, I marked my tests with the annotation @Theory in Eclipse everything is fine but when I run the testclass in Maven I get "java.lang.Exception: No runnable methods".

My POM is:
  <parent>
    <artifactId>RCP</artifactId>
    <groupId>RCP</groupId>
    <version>0.0.1-SNAPSHOT</version>
  </parent>
  <groupId>RCP</groupId>
  <artifactId>RCP_PLUGIN</artifactId>
  <version>1.0.0-SNAPSHOT</version>
  <packaging>eclipse-test-plugin</packaging>
  <build>
    <sourceDirectory>src</sourceDirectory>
    <plugins>
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-surefire-plugin</artifactId>
        <version>0.13.0</version>
      </plugin>
    </plugins>
  </build>
</project>


Thx in advance

DarkPhoenix

Back to the top