TestNG.
TestNG is a testing framework..
Here is the list of declaration for testng. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.4</version> </dependency>
If you think this Maven repository POM file listing for testng is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:Apache License, Version 2.0
URL: http://apache.org/licenses/LICENSE-2.0.
The testng-6.4 has 6 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
JUnit | junit 3.8.1 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 1966 |
Console | jcommander 1.12 A Java framework to parse command line options with annotations. | 13 |
YAML | snakeyaml 1.6 YAML 1.1 parser and emitter for Java | 46 |
The following table lists the most popular artifacts which are depending on testng-6.4. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
Web Service | pegasus-common 1.15.7 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 13 |
Web Service | r2 1.15.9 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 15 |
Web Service | restli-int-test-api 1.13.4 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 7 |
Web Service | restli-client 1.15.2 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 8 |
Web Service | restli-common 1.9.40 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 9 |
Web Service | restli-server 1.15.12 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 9 |
Web Service | data-transform 1.13.4 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 7 |
Web Service | data 1.15.12 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 21 |
Web Service | pegasus-common 1.9.3 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 11 |
Web Service | data 1.10.6 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 20 |
Web Service | restli-server 1.10.6 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 6 |
Web Service | data 1.15.7 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 22 |
Web Service | data 1.13.4 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 20 |
Web Service | restli-server 1.9.3 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 6 |
Web Service | restli-int-test-api 1.15.12 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 6 |
Web Service | restli-client 1.9.1 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 5 |
Web Service | restli-int-test-api 1.9.18 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 7 |
Web Service | restli-common 1.13.4 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 13 |
Web Service | pegasus-common 1.15.12 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 12 |
Web Service | data-transform 1.15.12 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 8 |
Web Service | r2 1.9.3 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 13 |
Web Service | r2 1.20.0 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 17 |
Web Service | r2 1.9.23 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 11 |
Web Service | pegasus-common 1.9.1 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 10 |
Web Service | restli-server 1.9.18 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 6 |
Web Service | pegasus-common 1.8.3 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 9 |
Web Service | d2 1.15.2 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 5 |
Web Service | restli-common 1.15.12 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 13 |
Web Service | d2 1.15.7 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 5 |
Web Service | restli-int-test-api 1.9.40 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 7 |
Web Service | data-transform 1.9.18 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 7 |
Web Service | restli-client 1.20.0 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 8 |
Web Service | restli-int-test-api 1.15.2 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 7 |
Web Service | restli-client 1.13.4 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 5 |
Web Service | data 1.9.40 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 20 |
Web Service | restli-common 1.10.6 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 10 |
Web Service | data-transform 1.10.6 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 7 |
Web Service | restli-common 1.9.18 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 10 |
Web Service | pegasus-common 1.9.40 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 10 |
Web Service | restli-server 1.9.40 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 5 |
Web Service | restli-common 1.15.7 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 15 |
Web Service | r2 1.9.40 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 11 |
Web Service | pegasus-common 1.15.9 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 13 |
Web Service | r2 1.15.12 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 16 |
Web Service | restli-int-test-api 1.20.0 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 6 |
Web Service | data-transform 1.15.9 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 8 |
Web Service | pegasus-common 1.9.23 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 10 |
Web Service | restli-int-test-api 1.15.9 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 6 |
Web Service | pegasus-common 1.10.6 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 11 |
Web Service | r2 1.15.2 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 16 |
Web Service | pegasus-common 1.9.18 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 10 |
Web Service | restli-server 1.15.7 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 8 |
Web Service | restli-client 1.15.4 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 8 |
Web Service | restli-common 1.9.5 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 10 |
Web Service | r2 1.9.18 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 12 |
Web Service | data 1.15.9 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 20 |
Web Service | restli-server 1.15.9 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 8 |
Web Service | restli-server 1.9.5 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 6 |
Web Service | data-avro-generator 1.15.12 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 5 |
Web Service | data-transform 1.20.0 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 8 |
Web Service | data-transform 1.9.1 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 7 |
Web Service | r2 1.15.7 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 15 |
Web Service | restli-common 1.9.23 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 9 |
Web Service | restli-common 1.15.9 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 12 |
Web Service | data 1.15.2 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 23 |
Web Service | restli-server 1.9.23 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 5 |
Web Service | data 1.9.18 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 23 |
The following plugins are used in the testng-6.4.jar
The following packages are defined in the testng-6.4.jar
com.beust.testng org.testng org.testng.annotations org.testng.collections org.testng.internal org.testng.internal.annotations org.testng.internal.invokers org.testng.internal.junit org.testng.internal.remote org.testng.internal.thread org.testng.internal.thread.graph org.testng.junit org.testng.log org.testng.log4testng org.testng.mustache org.testng.remote org.testng.remote.adapter org.testng.remote.strprotocol org.testng.reporters org.testng.reporters.jq org.testng.reporters.util org.testng.util org.testng.xml
Here is the content of the POM file.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <!-- Refer to the file ./build-with-maven for instruction on how to use this pom.xml --> <modelVersion>4.0.0</modelVersion> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <packaging>jar</packaging> <name>TestNG</name> <version>6.4</version> <description>TestNG is a testing framework.</description> <url>http://testng.org</url> <licenses> <license> <name>Apache License, Version 2.0</name> <url>http://apache.org/licenses/LICENSE-2.0</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:git:git@github.com:cbeust/testng.git</connection> <developerConnection>scm:git:git@github.com:cbeust/testng.git</developerConnection> <url>git@github.com:cbeust/testng.git</url> </scm> <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>3</version> </parent> <profiles> <profile> <!-- When activated, download dependencies from the snapshot repo --> <id>snapshot</id> <repositories> <repository> <id>snapshot-repository</id> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> </repository> </repositories> <dependencies> <dependency> <groupId>ant</groupId> <artifactId>ant</artifactId> <version>1.6.5</version> <optional>true</optional> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> </dependency> <dependency> <groupId>org.beanshell</groupId> <artifactId>bsh</artifactId> <version>2.0b4</version> <!-- <scope>provided</scope> --> </dependency> <dependency> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> <version>2.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.beust</groupId> <artifactId>jcommander</artifactId> <version>1.5</version> </dependency> </dependencies> </profile> </profiles> <dependencies> <dependency> <groupId>ant</groupId> <artifactId>ant</artifactId> <version>1.6.5</version> <optional>true</optional> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> </dependency> <dependency> <groupId>org.beanshell</groupId> <artifactId>bsh</artifactId> <version>2.0b4</version> <!-- <scope>provided</scope> --> </dependency> <dependency> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> <version>2.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.beust</groupId> <artifactId>jcommander</artifactId> <version>1.12</version> </dependency> <dependency> <groupId>org.yaml</groupId> <artifactId>snakeyaml</artifactId> <version>1.6</version> </dependency> </dependencies> <build> <plugins> <!-- Bundle sources --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.1.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- Compilation --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.1</version> <configuration> <source>1.5</source> </configuration> </plugin> <!-- Resource handling --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.4.1</version> <configuration> <encoding>UTF-8</encoding> </configuration> </plugin> <!-- OSGi manifest creation --> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.1.0</version> <executions> <execution> <id>bundle-manifest</id> <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> <configuration> <instructions> <_versionpolicy>$(@)</_versionpolicy> <Import-Package> bsh.*;version="[2.0.0,3.0.0)";resolution:=optional, com.beust.jcommander.*;version="[1.7.0,3.0.0)";resolution:=optional, com.google.inject.*;version="[1.2,1.3)";resolution:=optional, junit.framework;version="[3.8.1, 4.0.0)";resolution:=optional, org.apache.tools.ant.*;version="[1.6.5, 2.0.0)";resolution:=optional, org.yaml.*;version="[1.6,2.0)";resolution:=optional, !com.sun.*, * </Import-Package> </instructions> </configuration> </execution> </executions> </plugin> <!-- Add OSGi manifest in JAR --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.3.1</version> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </plugin> <!-- Generating Javadoc --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.7</version> <configuration> <excludePackageNames>*.internal</excludePackageNames> </configuration> </plugin> <!-- Tests (skipping) --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.5</version> <configuration> <skipTests>true</skipTests> </configuration> </plugin> <!-- Signing with gpg --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>