Giter VIP home page Giter VIP logo

parallelreporter's Introduction

ParallelReports

Using TestNG with ExtentReports Purpose: Demonstrate parallel runs by-method and by-class.

Quick Setup

Just import into your IDE as a Gradle project and run with the command: gradle cleanTest test

The build.gradle can be setup to scan for .java files or explicity run a testng.xml file.

NOTE: If you run with Gradle, IntelliJ-IDEA will hide test results from you in the IDE window, and it will not if you run with a TestNG run configuration.

Manual Setup Without Gradle

To run this project, add these 3 .jar files to your classpath:

  1. extentreports-2.41.2.jar
  2. freemarker-2.3.23.jar
  3. testng-6.10.jar

Manual Execution

In your IDE run configuration, run by pointing to suite file in src/test/resources/testNG.xml

Manual Execution Using Intellij-IDEA

  1. Import the project as a generic project.
  2. Create a new Run Configuration for TestNG
  3. Choose "Run As Suite"
  4. Execute

Manual Execution Using Eclipse

  1. TODO

parallelreporter's People

Contributors

austenjt avatar virenv avatar

Stargazers

Satyaranjan Muduli avatar

Watchers

James Cloos avatar  avatar

parallelreporter's Issues

Can we document how to run this project?

Can we document how to run this project in a README.md file?

Questions the document should answer:

  1. Where do dependencies come from?
  2. How do I run both on either IntelliJ-IDEA or Eclipse, and also command line?
  3. If I need to add .jar to my classpath, where do I get them?

Normally, I answer all these questions by making a project IDE agnostic using either Maven or Gradle.

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.