I am so +∞ on dropping the current patterns

I wonder if tycho’s default patterns are enough *Test*, *Test, *TestCase https://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-surefire/tycho-surefire-plugin/src/main/java/org/eclipse/tycho/surefire/TestMojo.java#n149

1) abstract classes are not run by default. So if you called an AbstractFooTest class which is not abstract, it’s on you.
2) when Eclipse JUnit runner runs on a projects/packages, containing suites and individual classes, it’ll run tests from suites and ignore (duplicate) individual tests. If it’s a core JUnit feature, then it should behave the same in surefire. That needs to be verified obviously


Le 23 janv. 2015 à 08:38, Max Rydahl Andersen <max.andersen@redhat.com> a écrit :

On 22 Jan 2015, at 20:51, Nick Boldt wrote:

You can set your own <include> entries in your root pom. Then all your
projects' tests will inherit those new rules.

the intent of the parent pom is to avoid we have unnecessary duplication
and conflicting approaches.

So better if we can fix the parent pom if its not optimal than continue
to get different
additional unnecessary testing configs in the various pom's.

/max
http://about.me/maxandersen
_______________________________________________
jbosstools-dev mailing list
jbosstools-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosstools-dev