摘要:
命令格式: allure [option] [command] [command options] allure --help 帮助 allure --version 查看版本信息 allure serve 生成在线版本的测试 allure generate <allure-result中间文件> 阅读全文
摘要:
1、安装 Java (推荐 1.8 版本),需要配置环境变量2、安装 Allure (2.13以上版本),需要配置环境变量 【下载地址】 https://repo1.maven.org/maven2/io/qameta/allure/allure-commandline/ mac/linux: 下载 阅读全文
摘要:
给用例添加禁用标识,被禁用的用例执行后会添加跳过的状态,可以禁用测试类、也可以禁用测试方法 注意:IDEA 不支持,maven 构建才支持 import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Tag; import 阅读全文
摘要:
通过 Tag 对用例分组: 环境分组: 测试环境、预发布环境 阶段分组: 冒烟用例 版本分组: V1.1、V1.2 设置标签 根据标签执行 结合 Maven 执行 结合测试套件执行 import org.junit.jupiter.api.Tag; import org.junit.jupiter. 阅读全文
摘要:
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.RepeatedTest; import org.junit.jupiter.api.Test; public class RepeatedExampleTe 阅读全文