File tree 1 file changed +21
-3
lines changed
1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,26 @@ with jqwik.
12
12
13
13
### Maven and Gradle configuration
14
14
15
- Maven:
15
+ Keep in mind that you have to explicitly add the Mockito dependencies to your project.
16
16
17
- ``` xml
17
+ Currently, there is also a dependency on ` mockito-junit-jupiter ` .
18
+ This allows the use of the ` @MockitoSettings ` annotation.
19
+
20
+ #### Maven
18
21
22
+ ``` xml
23
+ <dependency >
24
+ <group >org.mockito</group >
25
+ <artifactId >mockito-core</artifactId >
26
+ <version >$MOCKITO_VERSION</version >
27
+ <scope >test</scope >
28
+ </dependency >
29
+ <dependency >
30
+ <group >org.mockito</group >
31
+ <artifactId >mockito-junit-jupiter</artifactId >
32
+ <version >$MOCKITO_VERSION</version >
33
+ <scope >test</scope >
34
+ </dependency >
19
35
<dependency >
20
36
<group >net.jqwik</group >
21
37
<artifactId >jqwik-mockito</artifactId >
@@ -24,9 +40,11 @@ Maven:
24
40
</dependency >
25
41
```
26
42
27
- Gradle:
43
+ #### Gradle
28
44
29
45
```
46
+ testImplementation("org.mockito:mockito-core:$MOCKITO_VERSION")
47
+ testImplementation("org.mockito:mockito-junit-jupiter:$MOCKITO_VERSION")
30
48
testImplementation("net.jqwik:jqwik-mockito:$LATEST_VERSION")
31
49
```
32
50
You can’t perform that action at this time.
0 commit comments