Testování » Historie » Verze 3
Václav Hrabík, 2023-04-29 14:14
1 | 1 | Václav Hrabík | h1. Testování |
---|---|---|---|
2 | |||
3 | Důležité dependency pro JUnit 5 testy. |
||
4 | 2 | Václav Hrabík | |
5 | 3 | Václav Hrabík | <dependency> |
6 | <groupId>org.junit.platform</groupId> |
||
7 | <artifactId>junit-platform-launcher</artifactId> |
||
8 | <scope>test</scope> |
||
9 | </dependency> |
||
10 | 1 | Václav Hrabík | |
11 | 3 | Václav Hrabík | <dependency> |
12 | <groupId>org.junit.jupiter</groupId> |
||
13 | <artifactId>junit-jupiter-engine</artifactId> |
||
14 | <scope>test</scope> |
||
15 | </dependency> |
||
16 | 1 | Václav Hrabík | |
17 | 3 | Václav Hrabík | <dependency> |
18 | <groupId>org.junit.vintage</groupId> |
||
19 | <artifactId>junit-vintage-engine</artifactId> |
||
20 | <scope>test</scope> |
||
21 | </dependency> |
||
22 | 1 | Václav Hrabík | |
23 | V této verzi přechod od "org.junit.Test" a "org.junit.jupiter.api.Before" na nové "org.junit.jupiter.api.Test" a "org.junit.jupiter.api.BeforeEach". Díky tomu zde už není problém v různých typech testů. Potřeba si to hlídat. |