Spring TestContext Framework.
Here is the list of declaration for spring-test. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>4.1.1.RELEASE</version> </dependency>
If you think this Maven repository POM file listing for spring-test 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 spring-test-4.1.1.RELEASE has 24 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 |
---|---|---|
Inversion of Control | javax.inject 1 The javax.inject API | 539 |
JUnit | junit 4.11 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. | 2031 |
AOP | aspectjweaver 1.8.2 The AspectJ weaver introduces advices to java classes | 18 |
Groovy | groovy-all 2.3.7 Groovy: A powerful, dynamic language for the JVM | 18 |
Testing | hamcrest-core 1.3 This is the core API of hamcrest matcher framework to be used by third-party framework providers. This includes the a foundation set of matcher implementations for common operations. | 144 |
Web Service | jsonassert 1.2.3 A library to develop RESTful but flexible APIs | 8 |
Spring | spring-beans 4.1.1.RELEASE Spring Beans | 17 |
Spring | spring-core 4.1.1.RELEASE Spring Core | 19 |
Spring | spring-tx 4.1.1.RELEASE Spring Transaction | 5 |
Testing | testng 6.8.8 TestNG is a testing framework. | 58 |
XPath | xmlunit 1.5 XMLUnit compares a control XML document to a test document or the result of a transformation, validates documents, and compares the results of XPath expressions. | 24 |
The following packages are defined in the spring-test-4.1.1.RELEASE.jar
org.springframework.mock.env org.springframework.mock.http org.springframework.mock.http.client org.springframework.mock.jndi org.springframework.mock.web org.springframework.mock.web.portlet org.springframework.test org.springframework.test.annotation org.springframework.test.context org.springframework.test.context.jdbc org.springframework.test.context.junit4 org.springframework.test.context.junit4.statements org.springframework.test.context.support org.springframework.test.context.testng org.springframework.test.context.transaction org.springframework.test.context.util org.springframework.test.context.web org.springframework.test.jdbc org.springframework.test.util org.springframework.test.web org.springframework.test.web.client org.springframework.test.web.client.match org.springframework.test.web.client.response org.springframework.test.web.servlet org.springframework.test.web.servlet.request org.springframework.test.web.servlet.result org.springframework.test.web.servlet.setup
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>4.1.1.RELEASE</version> <name>Spring TestContext Framework</name> <description>Spring TestContext Framework</description> <url>https://github.com/spring-projects/spring-framework</url> <organization> <name>Spring IO</name> <url>http://projects.spring.io/spring-framework</url> </organization> <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> <issueManagement> <system>Jira</system> <url>https://jira.springsource.org/browse/SPR</url> </issueManagement> <scm> <connection>scm:git:git://github.com/spring-projects/spring-framework</connection> <developerConnection>scm:git:git://github.com/spring-projects/spring-framework</developerConnection> <url>https://github.com/spring-projects/spring-framework</url> </scm> <dependencies> <dependency> <groupId>com.jayway.jsonpath</groupId> <artifactId>json-path</artifactId> <version>0.9.0</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>javax.el</groupId> <artifactId>javax.el-api</artifactId> <version>2.2.5</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <version>1</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>javax.portlet</groupId> <artifactId>portlet-api</artifactId> <version>2.0</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>javax.servlet.jsp.jstl</groupId> <artifactId>javax.servlet.jsp.jstl-api</artifactId> <version>1.2.1</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>javax.servlet.jsp</groupId> <artifactId>javax.servlet.jsp-api</artifactId> <version>2.2.1</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>3.0.1</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.apache.taglibs</groupId> <artifactId>taglibs-standard-jstlel</artifactId> <version>1.2.1</version> <scope>compile</scope> <exclusions> <exclusion> <artifactId>taglibs-standard-spec</artifactId> <groupId>org.apache.taglibs</groupId> </exclusion> </exclusions> <optional>true</optional> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>1.8.2</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-all</artifactId> <version>2.3.7</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> <version>1.3</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.skyscreamer</groupId> <artifactId>jsonassert</artifactId> <version>1.2.3</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <version>4.1.1.RELEASE</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>4.1.1.RELEASE</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>4.1.1.RELEASE</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <version>4.1.1.RELEASE</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-orm</artifactId> <version>4.1.1.RELEASE</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-tx</artifactId> <version>4.1.1.RELEASE</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>4.1.1.RELEASE</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>4.1.1.RELEASE</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc-portlet</artifactId> <version>4.1.1.RELEASE</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.8.8</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>xmlunit</groupId> <artifactId>xmlunit</artifactId> <version>1.5</version> <scope>compile</scope> <optional>true</optional> </dependency> </dependencies> </project>