Gabriel,
Tycho surefire
plugin will execute all tests (that match the pattern
*Test.java etc..) foreach plugin.
So inside one
plugin it will execute all tests.
So from a
parent module, it will call all modules children and so call
all tests inside the children module.
Moreover Benoit
M. highligts me that it will introduce some binding in
plugin dependencies.
If we take as
example the extra plugins, the Alltests.java master plugin
call all AllTests.java in each extraplugins
But those
plugins should be totally independent.
But with the
Alltests.java files it aggregates the dependencies…
Francois
Hi François,
It seems me that AllTests files are used to aggregate all
tests. With this configuration, we have one execution for
all tests. My questions are :
- Can Tycho-Surefire aggregate all tests to
keep this test configuration ?
- If not, the policy of test will have to
change with one test plug-in for one execution. Will we
have the same result ?
Regards
Gabriel
Le 02/07/2015 11:24, LE FEVRE FRANCOIS a écrit :
Dear all,
You already know that I like a lot when
we have the less source code to manage, and that we rely on
convention rather on configuration.
I have noticed the existence of several
AllTests.java that list for a given eclipse-test-plugin the
class to test.
Such as this one:
/org.eclipse.papyrus.uml.profile.drafter.tests/test/org/eclipse/papyrus/uml/profile/drafter/tests/AllTests.java
We have 96 AllTests.java files in
org.eclipse.papyrus
I would like to know if we could delete
those files because it seems not to be relevant to list in a
file the test suite.
Actually we use the Tycho surefire plugin
that is able by default to list the test to run given the
convention pattern.
https://eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/test-mojo.html
What is your remarks on the deletion or
not of those files?
Francois


|
Francois
LE FEVRE
Research
Engineer
Commission
for Atomic Energy and Alternative Energies (CEA)
Model-driven
Engineering for Embedded Systems Laboratory (LISE)
Projet: Papyrus: https://www.eclipse.org/papyrus/

Commissariat à l’énergie atomique et aux
énergies alternatives (CEA)
Paris-Saclay Campus - Nano-INNOV | Bât.
862-PC1087 | F-91191 Gif-sur-Yvette Cedex
T. +33 (0)1 69 08 49 86 | F. +33 (0)1 69 08 83 95 |
francois.le-fevre@xxxxxx | Blog: http://biocamp.blogspot.fr/
|
_______________________________________________
mdt-papyrus.dev mailing list
mdt-papyrus.dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev
--
|
Gabriel
PASCUAL
Software
Engineer
|
6
rue Léonard De Vinci - BP 0119 - 53001
LAVAL Cedex - FRANCE
www.all4tec.net
|
|