CDI-Unit.
JUnit runner for testing CDI based projects..
Here is the list of declaration for cdi-unit. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.jglue.cdi-unit</groupId> <artifactId>cdi-unit</artifactId> <version>2.2.1</version> </dependency>
If you think this Maven repository POM file listing for cdi-unit is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:The Apache Software License, Version 2.0
URL: http://www.apache.org/licenses/LICENSE-2.0.txt.
The cdi-unit-2.2.1 has 10 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 4.8.2 JUnit is a regression testing framework. It is used by the developer who implements unit tests in Java. | 919 |
Testing | testng 6.1.1 TestNG is a testing framework. | 228 |
Testing Mock | mockito-all 1.9.5 Mock objects library for java | 1072 |
Testing Mock | easymock 3.2 EasyMock provides an easy way to create Mock Objects for interfaces and classes generating them on the fly | 69 |
Log | slf4j-api 1.7.5 The slf4j API | 610 |
Log | logback-classic 1.0.9 logback-classic module | 107 |
The following plugins are used in the cdi-unit-2.2.1.jar
The following packages are defined in the cdi-unit-2.2.1.jar
org.jglue.cdiunit org.jglue.cdiunit.internal
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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <artifactId>cdi-unit</artifactId> <packaging>jar</packaging> <parent> <groupId>org.jglue.cdi-unit</groupId> <artifactId>cdi-unit-parent</artifactId> <version>2.2.1</version> <relativePath>../pom.xml</relativePath> </parent> <name>CDI-Unit</name> <url>http://jglue.org/cdi-unit</url> <description>JUnit runner for testing CDI based projects.</description> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <weld.test.version>2.1.0.Beta2</weld.test.version> </properties> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <dependencies> <dependency> <groupId>org.jboss.weld.se</groupId> <artifactId>weld-se-core</artifactId> <scope>compile</scope> <version>2.1.0.Final</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.8.2</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.1.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <version>1.9.5</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.easymock</groupId> <artifactId>easymock</artifactId> <version>3.2</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.5</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.0.9</version> <scope>test</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>3.0.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.deltaspike.core</groupId> <artifactId>deltaspike-core-impl</artifactId> <version>0.5</version> </dependency> <dependency> <groupId>org.apache.deltaspike.core</groupId> <artifactId>deltaspike-core-api</artifactId> <version>0.5</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <executions> <execution> <phase>test</phase> <goals> <goal>test</goal> </goals> <configuration> <testNGArtifactName>none:none</testNGArtifactName> </configuration> </execution> <execution> <id>test-testng</id> <phase>test</phase> <goals> <goal>test</goal> </goals> <configuration> <junitArtifactName>none:none</junitArtifactName> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>