build: test run order

This commit is contained in:
CaptainB 2023-08-16 17:22:08 +08:00 committed by 刘瑞斌
parent f248f39506
commit b066e459c6
1 changed files with 12 additions and 1 deletions

View File

@ -18,5 +18,16 @@
<module>services</module>
<module>app</module>
</modules>
<!-- 测试顺序使用字母顺序 -->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<runOrder>alphabetical</runOrder>
</configuration>
</plugin>
</plugins>
</build>
</project>