转载:http://www.cnblogs.com/aikachin/p/7765846.html

参考:

http://blog.csdn.net/langsand/article/details/53764805

http://blog.csdn.net/langsand/article/details/53764805

1.maven 的pom.xml配置:

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> <dependencies> <!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>2.53.0</version>
<scope>compile</scope>
</dependency>
    <dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.11</version>
<scope>test</scope>
</dependency> <!-- https://mvnrepository.com/artifact/com.google.inject/guice -->
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<version>4.1.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/velocity/velocity-dep -->
<dependency>
<groupId>velocity</groupId>
<artifactId>velocity-dep</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
<dependency>
<groupId>org.uncommons</groupId>
<artifactId>reportng</artifactId>
<version>1.1.4</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<compilerArgs>
<arg>-Xlint:unchecked</arg>
<arg>-Xlint:deprecation </arg>
<!--<arg>endorseddirs=${endorsed.dir}</arg>-->
</compilerArgs>
</configuration>
</plugin>
<!--添加插件 关联testNg.xml-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.5</version>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
<!--这里设置关联的testNG.xml路径,项目根目录下的res文件夹里面-->
<suiteXmlFiles>
<file>res/testNG.xml</file>
</suiteXmlFiles> <properties> <!--刚开始这里没有设置默认监听false,所以没有启用reportNG功能。-->
                    <property>
<name>usedefaultlisteners</name>
<value>false</value>
</property> <!--Setting ReportNG listener-->
<property>
<name>listener</name>
<value>org.uncommons.reportng.HTMLReporter, org.uncommons.reportng.JUnitXMLReporter</value>
</property> </properties>
<workingDirectory>target/</workingDirectory>
<forkMode>always</forkMode>
</configuration>
</plugin>
</plugins>
</build>
2.testNG.xml配置listener
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="testproj" parallel="false">
<test name="testDemo1">
<packages>
<package name="com.aika.testng"/>
</packages>
<!--<classes>-->
<!--<class name="com.aika.testng.*"></class>-->
<!--</classes>-->
</test> <!--<listeners>-->
<!--<listener class-name="org.uncommons.reportng.HTMLReporter" />-->
<!--<listener class-name="org.uncommons.reportng.JUnitXMLReporter" />-->
<!--</listeners>--> </suite>
上面testNG.xml不设置的话,可以这样设置




3.配置好了,写一个简单的测试用例,此处不多做说明了。
IDEA的终端Terminal窗口,输入:mvn -f pom.xml clean test -DxmlFileName=testNG.xml
testNG.xml对应配置文件名称 生成成功,红框路径打开index.html

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAnEAAACrCAIAAACG1V0PAAAgAElEQVR4nO3dfWxUVd4H8BNDSAyNk2JonrapxKek2g2lbSp9SgPYbrexugXd9W1JJixOaHVXsw2SrEAA10VYXBVj6ItaUfchsFoRCw7YtyytraWPtEVLiQWVNLxUoEI75c7Mvb0z/J4/Dt7euS8zd4ZLxfr9ZELm/uac3zn3cO/8OtOZXkYAAABgB/ZTTwAAAGCKQE0FAACwB2qqEcZwww23qXYDuPFwnBn5yU9+3HDDzfYbwI2H48wIzkCAqQRnNEwWHGdGcAYCTCU4o2Gy4DgzgjMQYCrBGQ2TBceZEZyBAFMJzmiYLDjOjOAMBJhKcEbDZMFxZiTWMzAQCHzwwQe2T2c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ARQUwEAAOyBmgoAAGAP1FQAAAB7oKYCAADYAzUVAADAHqipAAAA9kBNBQAAsAdqKgAAgD1QUwEAAOyBmgoAAGAP/L1fAAAAe8RyXZrhYe1D/LZjBxGRJNH27eRyUWVlFNelAQAA+LmL7vqpokhOJ7W0TMR5JBAgUaQDB4iI3G7q7CRZpvZ2amwMlxwAAGAqiVBTiUKujco3+ZXGlbjTSYIwsbluHXm9RESCQBs3Rkiu2Baqq6sLEUQQQeSXGYnuWRxuJrHU1P5+Ons2pKaqL0u+ciUFg0REgQCVlUVIrn5Ibdu2bYgggggiv8xItM/jcPOIpaYGg9TSElJTr1yZ2Cwvp0CAiEiWqbw8QnIAAIApI5aaSqStqWobNpAgEBF5PLR+fYTkAAAAU0Z0n1Him5JEg4PXSqkSUTQ306FDJIrU1HTtN69myQEAAKaSWL5Lw++vWaONcLJMNTXkclFVFb5LAwAAvyD4mw8AAAD2QJEDAACwB2oqAACAPVBTAQAA7IGaCgAAYI//B3OBOt4IDl+MAAAAAElFTkSuQmCC" alt="" />

IDEA+MAVEN+testNG(reportNG)的更多相关文章

  1. 学习笔记——Maven实战(八)常用Maven插件介绍(下)

    我们都知道Maven本质上是一个插件框架,它的核心并不执行任何具体的构建任务,所有这些任务都交给插件来完成,例如编译源代码是由maven- compiler-plugin完成的.进一步说,每个任务对应 ...

  2. Maven实战(八)——常用Maven插件介绍(下)

    我们都知道Maven本质上是一个插件框架,它的核心并不执行任何具体的构建任务,所有这些任务都交给插件来完成,例如编译源代码是由maven- compiler-plugin完成的.进一步说,每个任务对应 ...

  3. Maven 入门 (2)—— 创建Maven项目

    http://blog.csdn.net/kakashi8841/article/details/17427043 读这篇文章之前请先确保你成功安装了maven,如果你还没安装成功,请先看:Maven ...

  4. Maven 入门 (1)—— 安装

    Maven 入门 (1)—— 安装 http://blog.csdn.net/kakashi8841/article/details/17371837 1.下载maven安装包 http://mave ...

  5. eclipse新建maven项目(2)

    本篇博文是继续之前的博文eclipse新建maven项目(1),那篇博文不在随笔在文章中.首先按照之前那篇博文进行创建maven项目操作,一系列操作下来之后发现刷新项目后会报错: 别急哈,可以解决. ...

  6. Maven实战(五)坐标详解

    1.为什么要定义Maven坐标      在我们开发Maven项目的时候,需要为其定义适当的坐标,这是Maven强制要求的.在这个基础上,其他Maven项目才能应用该项目生成的构件. 2.Maven坐 ...

  7. 【项目管理和构建】十分钟教程,eclipse配置maven + 创建maven项目(三)

    [项目管理和构建]十分钟教程,eclipse配置maven + 创建maven项目(三) 上篇博文中我们介绍了maven下载.安装和配置(二),这篇博文我们配置一下eclipse,将它和maven结合 ...

  8. 【转】Maven实战(九)---模块聚合和继承

    原博文出自于:http://blog.csdn.net/liutengteng130/article/details/47001831   感谢! 类之间有聚合和继承关系,Maven也具备这样的设计原 ...

  9. (转)Maven实战(五)坐标详解

    1.为什么要定义Maven坐标      在我们开发Maven项目的时候,需要为其定义适当的坐标,这是Maven强制要求的.在这个基础上,其他Maven项目才能应用该项目生成的构件. 2.Maven坐 ...

随机推荐

  1. linux下C的GBD调试学习笔记(转载)

    1. 单步执行和跟踪函数调用 看下面的程序: 例 10.1. 函数调试实例 #include <stdio.h> int add_range(int low, int high) { in ...

  2. linux环境下的GUN make学习笔记(一)

    第一章:概述 1.1:make概述 在linux环境下使用make工具能够比较容易的构建一个属于自己的工程,整个工程的编译只需要一个命令就可以完成编译.连接以至于最后的执行.不过我们需要投入一些时间去 ...

  3. ios iphone ipad上iframe的宽度会扩大的解决办法

    这个问题,我从网上查了下,好像是属于ios的bug,android,windows都没有问题. 解决办法,就是在iframe加载完成后,设置 iframe里面body的宽度为多少PX. $(" ...

  4. echarts 图表建立步骤

    需要引用的文件 <script src="web/mobile/js/jquery-1.8.3.min.js"></script> <script s ...

  5. 肢解 HTTP 服务器构建

    更好阅读请戳 这里 1. 最简单的 http 服务器 // server.js var http = require("http"); http.createServer(func ...

  6. 一个关于Java 多线程问题的知识点

    这个程序运行结果会是什么? public class Main {static class ListAdd { private static List list = new ArrayList(); ...

  7. Oracle查看被锁的表,并释放

    几个相关的表 SELECT * FROM v$lock; SELECT * FROM v$sqlarea; SELECT * FROM v$session; SELECT * FROM v$proce ...

  8. Windows server 2012 R2 环境搭建

    由于系统升级,现在在用dotnetcore开发项目,但是尴尬的是服务器是windows server2012 R2的版本,这个版本不能执行dotnetcore. 然后问题来了,运行环境搭建. 第一步自 ...

  9. uiautomator2 +Python进行Android原生应用UI测试

    uiautomator2封装了google的uiautomator(只能用java),uiautomator2可以使用脚本语言python进行编写,更简单直观地修改.运行自动化测试代码: 不足为:仅支 ...

  10. thinkpad win8.1 无线连接受限

    把博通的驱动回滚到6.30.223.102就好了