Giter VIP home page Giter VIP logo

arrow's Introduction

Introduction

Arrow is a TestNG plugin providing several intersting features mainly for QA engineers.

中文介绍

Features

  • Integrate test class/method author from Javadoc into emailable HTML report
  • Re-run failed test cases

How to Use

1、Add arrow.jar to project libs
2、Add listeners in ant build.xml or testng.xml

  • build.xml add listeners sample
<target name="testng" depends="compile">
    <mkdir dir="test-output" />
	<testng outputDir="test-output" classpathref="runpath"
		haltonfailure="fasle" listeners="com.netease.qa.testng.PowerEmailableReporter, 
		com.netease.qa.testng.RetryListener, com.netease.qa.testng.TestResultListener">
		<xmlfileset dir="." includes="${testngxml}.xml" />
	</testng>
</target>
  • testng.xml add listeners sample
<listeners>
    <listener class-name="com.netease.qa.testng.TestResultListener" />
    <listener class-name="com.netease.qa.testng.RetryListener" />
    <listener class-name="com.netease.qa.testng.PowerEmailableReporter" />
    <listener class-name="com.netease.qa.testng.PowerXMLReport" />
</listeners>

3、Add config.properties file in the root directory of your project

  • config.properties file sample
retrycount=1 #Not must be specified, default value is  0
sourcecodedir=src #Not must be specified, default value is src
sourcecodeencoding=UTF-8 #Not must be specified, default value is utf-8

Contributors

  • NetEase, Inc.

How to Contribute

Any contribution listed bellow is welcomed:

  • add/edit wiki
  • report/fix issue
  • code review
  • commit new feature
  • add testcase/demo

Meanwhile it is recommended to follow the rules below:

  • It's NOT recommended to submit a pull request directly to Arrow's master branch. develop branch is more appropriate
  • Follow common Java coding conventions
  • Add the following license in each Java class file

License

(The Apache License)

Copyright (c) 2012-2013 NetEase, Inc. and other contributors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

arrow's People

Contributors

kevinkong avatar sephinroth avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.