Revize f80fcfd7
Přidáno uživatelem Václav Hrabík před téměř 2 roky(ů)
pom.xml | ||
---|---|---|
24 | 24 |
<com.fasterxml.jackson.core.version>2.13.3</com.fasterxml.jackson.core.version> |
25 | 25 |
<org.junit.jupiter.version>5.4.0</org.junit.jupiter.version> |
26 | 26 |
<org.apache.maven.plugins.version>3.0.0-M7</org.apache.maven.plugins.version> |
27 |
<spring-cloud-contract.version>3.0.3</spring-cloud-contract.version> |
|
27 | 28 |
</properties> |
28 | 29 |
|
29 | 30 |
<dependencies> |
... | ... | |
45 | 46 |
<artifactId>spring-boot-starter-web</artifactId> |
46 | 47 |
</dependency> |
47 | 48 |
|
48 |
<!-- <dependency>-->
|
|
49 |
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
50 |
<!-- <artifactId>spring-boot-starter-security</artifactId>-->
|
|
51 |
<!-- </dependency>-->
|
|
49 |
<dependency>
|
|
50 |
<groupId>org.springframework.security</groupId>
|
|
51 |
<artifactId>spring-security-web</artifactId>
|
|
52 |
</dependency>
|
|
52 | 53 |
|
53 | 54 |
<dependency> |
54 | 55 |
<groupId>mysql</groupId> |
... | ... | |
98 | 99 |
<version>${com.fasterxml.jackson.core.version}</version> |
99 | 100 |
</dependency> |
100 | 101 |
|
101 |
<!-- Security library --> |
|
102 |
<!-- Security library -->
|
|
102 | 103 |
<dependency> |
103 | 104 |
<groupId>org.springframework.boot</groupId> |
104 | 105 |
<artifactId>spring-boot-starter-security</artifactId> |
... | ... | |
108 | 109 |
<groupId>org.apache.httpcomponents</groupId> |
109 | 110 |
<artifactId>httpclient</artifactId> |
110 | 111 |
</dependency> |
112 |
|
|
111 | 113 |
<!-- Junit libraries for unit tests--> |
112 | 114 |
<dependency> |
113 | 115 |
<groupId>org.junit.jupiter</groupId> |
... | ... | |
129 | 131 |
<artifactId>json-simple</artifactId> |
130 | 132 |
<version>1.1.1</version> |
131 | 133 |
</dependency> |
134 |
|
|
132 | 135 |
<!-- UI TESTING --> |
133 | 136 |
<dependency> |
134 | 137 |
<groupId>org.seleniumhq.selenium</groupId> |
... | ... | |
160 | 163 |
<scope>test</scope> |
161 | 164 |
</dependency> |
162 | 165 |
|
166 |
<!-- Contract testing --> |
|
167 |
<dependency> |
|
168 |
<groupId>org.springframework.cloud</groupId> |
|
169 |
<artifactId>spring-cloud-starter-contract-verifier</artifactId> |
|
170 |
<version>2.1.1.RELEASE</version> |
|
171 |
<scope>test</scope> |
|
172 |
</dependency> |
|
173 |
|
|
163 | 174 |
</dependencies> |
164 | 175 |
|
165 | 176 |
<build> |
... | ... | |
185 | 196 |
<version>${org.apache.maven.plugins.version}</version> |
186 | 197 |
</plugin> |
187 | 198 |
|
199 |
<plugin> |
|
200 |
<groupId>org.springframework.cloud</groupId> |
|
201 |
<artifactId>spring-cloud-contract-maven-plugin</artifactId> |
|
202 |
<version>${spring-cloud-contract.version}</version> |
|
203 |
<extensions>true</extensions> |
|
204 |
<configuration> |
|
205 |
<testFramework>JUNIT5</testFramework> |
|
206 |
<baseClassForTests> |
|
207 |
cz.zcu.fav.kiv.antipatterndetectionapp.v2.controller.BaseTest |
|
208 |
</baseClassForTests> |
|
209 |
</configuration> |
|
210 |
</plugin> |
|
211 |
|
|
188 | 212 |
</plugins> |
189 | 213 |
</build> |
190 | 214 |
|
Také k dispozici: Unified diff
#10258 vytvoření prof of concept kontraktových testů s použitím groovy scriptů