Skip to content

Commit

Permalink
Merge pull request #38 from srujana4/master
Browse files Browse the repository at this point in the history
Moved AuthorizationTest to groovy spock framework
  • Loading branch information
ashpak-shaikh authored Oct 31, 2023
2 parents eea199e + 9dc3944 commit 8af8db0
Show file tree
Hide file tree
Showing 3 changed files with 779 additions and 457 deletions.
43 changes: 41 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@

<properties>
<junit5.version>5.5.0</junit5.version>
<lombok.version>1.18.8</lombok.version>
<lombok.version>1.18.20</lombok.version>
<graphql-java.version>20.4</graphql-java.version>
<jacoco.enabled>true</jacoco.enabled>
<jacoco.version>0.8.4</jacoco.version>
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
<jackson.version>2.13.5</jackson.version>
<spock-core.version>1.3-groovy-2.5</spock-core.version>
<groovy.version>2.5.14</groovy.version>
</properties>

<profiles>
Expand Down Expand Up @@ -170,13 +172,30 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<version>2.22.0</version>
<configuration>
<systemPropertyVariables>
<jacoco-agent.destfile>${project.build.directory}/coverage.exec</jacoco-agent.destfile>
</systemPropertyVariables>
<includes>
<include>**/*Test.class</include>
<include>**/*Spec.class</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
<version>1.12.1</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>compileTests</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
Expand Down Expand Up @@ -251,8 +270,28 @@
<version>${jackson.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.spockframework</groupId>
<artifactId>spock-core</artifactId>
<version>${spock-core.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>2.5.14</version>
<type>pom</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility-groovy</artifactId>
<version>3.0.0</version>
<scope>test</scope>
</dependency>

</dependencies>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
Expand Down
Loading

0 comments on commit 8af8db0

Please sign in to comment.