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.
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.
$ git clone email@example.com:WANdisco/testng-depgraphs.git $ cd testng-depgraphs $ mvn clean install
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.
This project is licenced under the Apache Software License, Version 2.0.