allure

Allure

https://www.jianshu.com/p/b5a6e902c9d4#%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA

獲取報告:allure serve target/allure-results

文檔 https://docs.qameta.io/allure/#_test_execution

 

maven環境搭建

https://www.jianshu.com/p/7c9a5df967d4

Pom文件詳解

https://blog.csdn.net/qq_17085463/article/details/78820645

allure配置

https://testerhome.com/topics/16998

 

如果執行mvn clean test 報錯“找不到POM文件”

需要cd 到指定項目目錄下

 

跑項目下指定文件

mvn clean test -Dtest=指定java文件路徑

跑項目下所有文件

mvn clean test

生成報告

運行allure serve allure-results或者allure serve target/surefire-reports

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章