You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sis.apache.org by Martin Desruisseaux <ma...@geomatys.fr> on 2013/10/08 21:07:54 UTC
Proposal for minor change in execution of JUnit tests
Hello all
By default, Maven executes JUnit tests in every classes ending by
"Test". I would like to configure Maven for executing the "TestSuite"
instead. The intend is to ensure that all tests are executed in a
specific order. While JUnit tests are supposed to be isolated, in
practice when executed in random order, test failures get lost in a
forest of other failures caused by the original one. This was a minor
issue for sis-metadata, but will become more important for
sis-referencing since it involves chains of operations where each step
relies on the correct working of other steps.
I tested on the JDK7 branch and it seems to work okay. Is there any
issue or discussion?
Martin
Re: Proposal for minor change in execution of JUnit tests
Posted by "Mattmann, Chris A (398J)" <ch...@jpl.nasa.gov>.
+1 from me.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW: http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----Original Message-----
From: Martin Desruisseaux <ma...@geomatys.fr>
Organization: Geomatys
Reply-To: "dev@sis.apache.org" <de...@sis.apache.org>
Date: Tuesday, October 8, 2013 12:07 PM
To: Apache SIS <de...@sis.apache.org>
Subject: Proposal for minor change in execution of JUnit tests
>Hello all
>
>By default, Maven executes JUnit tests in every classes ending by
>"Test". I would like to configure Maven for executing the "TestSuite"
>instead. The intend is to ensure that all tests are executed in a
>specific order. While JUnit tests are supposed to be isolated, in
>practice when executed in random order, test failures get lost in a
>forest of other failures caused by the original one. This was a minor
>issue for sis-metadata, but will become more important for
>sis-referencing since it involves chains of operations where each step
>relies on the correct working of other steps.
>
>I tested on the JDK7 branch and it seems to work okay. Is there any
>issue or discussion?
>
> Martin
>