Execute tests in alphabetical order
Until now the order of the execution of the tests depended on the order of the files returned by the filesystem. This could lead to different test results in different systems for the same codebase. Ideally tests should be completely isolated and not depend on the order of execution whatsoever. Nevertheless, in many tests some data is left behind in the database, affecting the behavior of other tests. With the alphabetical order, these order problems will arise the same in all machines.
This commit is contained in:
parent
0c33a9431c
commit
23b1a76d15
1 changed files with 9 additions and 0 deletions
9
pom.xml
9
pom.xml
|
|
@ -958,6 +958,15 @@
|
|||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.10</version>
|
||||
<configuration>
|
||||
<runOrder>alphabetical</runOrder>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- =========================================================== -->
|
||||
<!-- Jetty configuration -->
|
||||
<plugin>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue