Commit 55be703c by 周晓航

购物车添加spock测试

parent f05b8feb
...@@ -12,11 +12,28 @@ ...@@ -12,11 +12,28 @@
<properties> <properties>
<jacoco.version>0.7.5.201505241946</jacoco.version> <jacoco.version>0.7.5.201505241946</jacoco.version>
<junit.version>4.12</junit.version> <junit.version>4.12</junit.version>
<spock.version>1.3-groovy-2.5</spock.version>
</properties> </properties>
<artifactId>shopping-cart-application-service</artifactId> <artifactId>shopping-cart-application-service</artifactId>
<dependencies> <dependencies>
<!--引入spock 核心包-->
<dependency>
<groupId>org.spockframework</groupId>
<artifactId>spock-core</artifactId>
<version>${spock.version}</version>
<scope>test</scope>
</dependency>
<!--引入spock 与 spring 集成包-->
<dependency>
<groupId>org.spockframework</groupId>
<artifactId>spock-spring</artifactId>
<version>${spock.version}</version>
<scope>test</scope>
</dependency>
<dependency> <dependency>
<groupId>com.freemud.application.service.sdk</groupId> <groupId>com.freemud.application.service.sdk</groupId>
<artifactId>paymentcenter-sdk</artifactId> <artifactId>paymentcenter-sdk</artifactId>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment