GithubHelp home page GithubHelp logo

classicvalues / paradox-testng Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oracle/paradox-testng

0.0 1.0 0.0 141 KB

Some listeners, reporters, and utilities for writing testng tests

License: Apache License 2.0

Groovy 100.00%

paradox-testng's Introduction

paradox-testng

This project provides a functionality to write testng tests better.

Assert

Assert.knownBug should be called in favor of assert false in any test case that has a known bug associated with it. It should be called at the top of the test. The method will contact the JIRA server and lookup the bug with ID of bugID eg. "ENG-999". Any failure by Assert.KnownBug will prepend "KnownFail" to the message. If this message is seen on a test case result we're about to put into database we remove "KnownFail" from the message and override result from "fail" to "known fail".

Assume

Assume is used when it is necessary to ascertain whether the test is in the appropriate state or not. If setting up the test fails, Assume should be used instead of assert.

CommonFormatReporter

Produces a json result from a test suite that is compatible with how we expect to import test results into our results database. It has top-level properties for name, environment, date, time, and the commandline arguments used to invoke the testcase. For each testcase, the name, and state are reported. If the test failed, the stacktrace is put into a comment field. If there is a known bug associated to the test case, its id is put into a defect field. If the testcase is assigned groups, those groups are put into an array and given in the labels field.

DryRunListener

Creates a file (tests.json) that lists all the tests that would be run given the commandline options. Does not actually run the tests.

TestNGReportAppender

Writes log4j messages to a testng reporter to show up in the results.

paradox-testng's People

Contributors

martyneal avatar skylarhiebert avatar pcross616 avatar

Watchers

 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.