<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <!--指定需要跑的单元测试-->
                    <includes>
                        <include>**/*Documentation.java</include>
                    </includes>
                    <!--指定编码,防止控制台乱码-->
                    <argLine>-Dfile.encoding=UTF-8</argLine>
                </configuration>
</plugin>

 

相关文章:

  • 2022-12-23
  • 2021-12-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-21
  • 2021-06-23
  • 2021-12-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
  • 2021-06-08
相关资源
相似解决方案