diff options
author | ToineSiebelink <toine.siebelink@est.tech> | 2021-01-27 10:47:04 +0000 |
---|---|---|
committer | ToineSiebelink <toine.siebelink@est.tech> | 2021-01-29 09:50:25 +0000 |
commit | 2806662125983758e3e3b5f4f8105745c539391b (patch) | |
tree | d0a070791681ce3d496c2ffa031c7cdf92d4e97d /cps-ri/pom.xml | |
parent | 4bcccd1a0b84f637c9383b31299ee9bd84f5f486 (diff) |
Introducing Spock/Groovy for Data Integration Tests
Replaced CpsAdminPersistenceServiceTest with CpsAdminPersistenceServiceSpec
Replaced CpsDataPersistenceServiceTest with CpsDataPersistenceServiceSpec
Replaced CpsModulePersistenceServiceTest with CpsModulePersistenceServiceSpec
Extracted out common integration test base
Rationalised test (there was a lot of duplication already!)
Issue-ID: CPS-160
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I3311533fba1398feb00b6adf4209399cea8d3a1b
Diffstat (limited to 'cps-ri/pom.xml')
-rw-r--r-- | cps-ri/pom.xml | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/cps-ri/pom.xml b/cps-ri/pom.xml index 1805986c7b..005fa272f8 100644 --- a/cps-ri/pom.xml +++ b/cps-ri/pom.xml @@ -41,16 +41,47 @@ <groupId>org.modelmapper</groupId>
<artifactId>modelmapper</artifactId>
</dependency>
- <!-- Test dependencies -->
+ <!-- T E S T D E P E N D E N C I E S -->
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.spockframework</groupId>
+ <artifactId>spock-core</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.spockframework</groupId>
+ <artifactId>spock-spring</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>cglib</groupId>
+ <artifactId>cglib-nodep</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>org.junit.vintage</groupId>
+ <artifactId>junit-vintage-engine</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>postgresql</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.testcontainers</groupId>
+ <artifactId>spock</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</project>
|