2016-09-27 82 views

回答

0

定义的测试将在运行的秩序。 支持的值是“字母”,“reversealphabetical”,“随机”,“小时工”(就连小时按字母顺序排列,扭转在奇数小时字母),“ failedfirst“,”平衡“和”文件系统“。

<plugin> 
    <groupId>org.apache.maven.plugins</groupId> 
    <artifactId>maven-surefire-plugin</artifactId> 
    <version>2.17</version> 
    <configuration> 
    <runOrder>alphabetical</runOrder> 
    </configuration> 
</plugin> 

Documentation Here