博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
maven+junit生成报告
阅读量:4070 次
发布时间:2019-05-25

本文共 2223 字,大约阅读时间需要 7 分钟。

1.基础版–mvn test surefire-report:report

生成site文件夹

maven-surefire-plugin
true
**/*Test.java
org.apache.maven.plugins
maven-surefire-report-plugin
false

在这里插入图片描述

2. 优化版- mvn clean test

maven-surefire-plugin
true
**/*Test.java
org.apache.maven.plugins
maven-surefire-report-plugin
false
org.jvnet.maven-antrun-extended-plugin
maven-antrun-extended-plugin
test-reports
test
run
org.apache.ant
ant-junit
1.8.0
org.apache.ant
ant-trax
1.8.0

在这里插入图片描述

转载地址:http://rtmji.baihongyu.com/

你可能感兴趣的文章
本地服务方式搭建etcd集群
查看>>
安装k8s Master高可用集群
查看>>
忽略图片透明区域的事件(Flex)
查看>>
Xpath使用方法
查看>>
移动端自动化测试-Mac-IOS-Appium环境搭建
查看>>
Selenium之前世今生
查看>>
Selenium-WebDriverApi接口详解
查看>>
Selenium-ActionChains Api接口详解
查看>>
Selenium-Switch与SelectApi接口详解
查看>>
Selenium-Css Selector使用方法
查看>>
Linux常用统计命令之wc
查看>>
Java.nio
查看>>
PHP那点小事--三元运算符
查看>>
fastcgi_param 详解
查看>>
Linux中的进程
查看>>
学习python(1)——环境与常识
查看>>
学习设计模式(3)——单例模式和类的成员函数中的静态变量的作用域
查看>>
一文看清HBase的使用场景
查看>>
解析zookeeper的工作流程
查看>>
搞定Java面试中的数据结构问题
查看>>