Please refer to XXXXX for the individual test results._zhizhiqiuya
-
错误原因:
项目开发中没有编写测试,打包过程中test检测错误 -
解决方案:
跳过测试单元
- 修改pom文件
build>
plugins>
!-- maven 打包时跳过测试 -->
plugin>
服务器托管网groupId>org.apache.maven.plugins/groupId>
artifactId>maven-surefire-plugin/artifactId>
configuration>
skip>true/skip>
/configuration>
/plugin>
/plugins>
/build>
完成
服务器托管,北京服务器托管,服务器租用 http://www.fwqtg.n服务器托管网et
相关推荐: pytest + yaml 框架 -37.mark 标记对用例运行时长断言
前言 pytest 执行用例的时候,我们希望对用例的运行时间断言,当用例执行时长大于预期标记此用例失败。@pytest.mark.runtime(1) 运行时长单位是秒 此插件已打包上传到pypi https://pypi.org/project/pytest…