TestNG Dependency Graphs

Reporter plug-in for TestNG that generates graph visualisations of test dependencies.

License

License

Categories

Categories

TestNG Unit Testing
GroupId

GroupId

com.wandisco
ArtifactId

ArtifactId

testng-depgraphs
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

TestNG Dependency Graphs
Reporter plug-in for TestNG that generates graph visualisations of test dependencies.
Project URL

Project URL

https://github.com/WANdisco/testng-depgraphs
Project Organization

Project Organization

WANdisco Inc
Source Code Management

Source Code Management

https://github.com/WANdisco/testng-depgraphs

Download testng-depgraphs

How to add to project

<!-- https://jarcasting.com/artifacts/com.wandisco/testng-depgraphs/ -->
<dependency>
    <groupId>com.wandisco</groupId>
    <artifactId>testng-depgraphs</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.wandisco/testng-depgraphs/
implementation 'com.wandisco:testng-depgraphs:1.0.1'
// https://jarcasting.com/artifacts/com.wandisco/testng-depgraphs/
implementation ("com.wandisco:testng-depgraphs:1.0.1")
'com.wandisco:testng-depgraphs:jar:1.0.1'
<dependency org="com.wandisco" name="testng-depgraphs" rev="1.0.1">
  <artifact name="testng-depgraphs" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.wandisco', module='testng-depgraphs', version='1.0.1')
)
libraryDependencies += "com.wandisco" % "testng-depgraphs" % "1.0.1"
[com.wandisco/testng-depgraphs "1.0.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.testng : testng jar 6.8

Project Modules

There are no modules declared in this project.

testng-depgraphs

Reporter plug-in for TestNG that generates graph visualisations of test dependencies.

For each of your TestNG test suites, testng-depgraphs will generate a file that contains a dot language directed graph of all the test method and group dependencies that are specified in your code. If you have the GraphViz command line tools installed it will also generate a PNG image of the graph.

Portion of an example graph image

Blue squares are test groups. Green, yellow and red squares are passed, skipped and failed test methods, respectively. The arrows show the direction of the dependencies.

Building

$ git clone [email protected]:WANdisco/testng-depgraphs.git
$ cd testng-depgraphs
$ mvn clean install

Usage

Simply add testng-depgraphs as a test dependency in your Maven POM file:

<dependency>
  <groupId>com.wandisco</groupId>
  <artifactId>testng-depgraphs</artifactId>
  <version>1.0.1</version>
  <scope>test</scope>
</dependency>

Or if you are using Ant, just include the testng-depgraphs JAR in the run-time classpath for your tests.

Your project's test suite will automatically start generating dependency graphs through the magic of Java's service loader mechanism.

Licence

This project is licenced under the Apache Software License, Version 2.0.

com.wandisco

WANdisco

Versions

Version
1.0.1
1.0.0