|
21 | 21 | <openjfx.version>16</openjfx.version> |
22 | 22 | <ikonli.version>12.2.0</ikonli.version> |
23 | 23 | <jaxb.version>2.3.2</jaxb.version> |
| 24 | + <jacoco.version>0.8.7</jacoco.version> |
| 25 | + <logunit.version>1.1.0</logunit.version> |
24 | 26 | </properties> |
25 | 27 |
|
26 | 28 | <organization> |
|
242 | 244 | <version>${openjfx.version}</version> |
243 | 245 | <scope>provided</scope> |
244 | 246 | </dependency> |
| 247 | + <!-- Add test dependencies --> |
| 248 | + <dependency> |
| 249 | + <groupId>io.github.netmikey.logunit</groupId> |
| 250 | + <artifactId>logunit-core</artifactId> |
| 251 | + <version>${logunit.version}</version> |
| 252 | + <scope>test</scope> |
| 253 | + </dependency> |
| 254 | + <dependency> |
| 255 | + <groupId>io.github.netmikey.logunit</groupId> |
| 256 | + <artifactId>logunit-logback</artifactId> |
| 257 | + <version>${logunit.version}</version> |
| 258 | + <scope>test</scope> |
| 259 | + </dependency> |
| 260 | + <dependency> |
| 261 | + <groupId>org.junit.jupiter</groupId> |
| 262 | + <artifactId>junit-jupiter-api</artifactId> |
| 263 | + <version>${junit-jupiter.version}</version> |
| 264 | + <scope>test</scope> |
| 265 | + </dependency> |
| 266 | + <dependency> |
| 267 | + <groupId>org.junit.jupiter</groupId> |
| 268 | + <artifactId>junit-jupiter-engine</artifactId> |
| 269 | + <version>${junit-jupiter.version}</version> |
| 270 | + <scope>test</scope> |
| 271 | + </dependency> |
| 272 | + <dependency> |
| 273 | + <groupId>org.springframework.boot</groupId> |
| 274 | + <artifactId>spring-boot-starter-test</artifactId> |
| 275 | + <scope>test</scope> |
| 276 | + </dependency> |
| 277 | + <dependency> |
| 278 | + <groupId>org.testfx</groupId> |
| 279 | + <artifactId>testfx-junit5</artifactId> |
| 280 | + <version>4.0.16-alpha</version> |
| 281 | + <scope>test</scope> |
| 282 | + </dependency> |
245 | 283 |
|
246 | 284 | </dependencies> |
247 | 285 |
|
|
430 | 468 | </execution> |
431 | 469 | </executions> |
432 | 470 | </plugin> |
| 471 | + <!-- Test reporting --> |
| 472 | + <plugin> |
| 473 | + <artifactId>maven-surefire-plugin</artifactId> |
| 474 | + <version>${maven-surefire-plugin.version}</version> |
| 475 | + </plugin> |
| 476 | + <plugin> |
| 477 | + <groupId>org.jacoco</groupId> |
| 478 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 479 | + <version>${jacoco.version}</version> |
| 480 | + <executions> |
| 481 | + <execution> |
| 482 | + <goals> |
| 483 | + <goal>prepare-agent</goal> |
| 484 | + </goals> |
| 485 | + </execution> |
| 486 | + <execution> |
| 487 | + <id>report</id> |
| 488 | + <phase>test</phase> |
| 489 | + <goals> |
| 490 | + <goal>report</goal> |
| 491 | + </goals> |
| 492 | + </execution> |
| 493 | + </executions> |
| 494 | + </plugin> |
433 | 495 | </plugins> |
434 | 496 | </build> |
435 | 497 |
|
| 498 | + <reporting> |
| 499 | + <plugins> |
| 500 | + <plugin> |
| 501 | + <groupId>org.jacoco</groupId> |
| 502 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 503 | + <version>${jacoco.version}</version> |
| 504 | + </plugin> |
| 505 | + </plugins> |
| 506 | + </reporting> |
436 | 507 | <repositories> |
437 | 508 | <repository> |
438 | 509 | <id>central</id> |
|
0 commit comments