forked from mockito/mockito
-
Notifications
You must be signed in to change notification settings - Fork 0
/
extTest.gradle
30 lines (25 loc) · 898 Bytes
/
extTest.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
apply from: "$rootDir/gradle/dependencies.gradle"
apply plugin: 'java'
description = "End-to-end tests for Mockito and its extensions."
repositories {
mavenLocal() //we depend on locally published mockito
}
dependencies {
testImplementation project.rootProject
testImplementation project(":junit-jupiter")
testImplementation project(path: ':', configuration: 'testUtil')
testImplementation libraries.junit4
testImplementation libraries.assertj
testImplementation libraries.junitJupiterApi
testRuntimeOnly libraries.junitJupiterEngine
testRuntimeOnly libraries.junitVintageEngine
testRuntimeOnly libraries.junitPlatformLauncher
}
tasks.withType(Test) {
useJUnitPlatform()
}
configurations.all {
//TODO SF enable when #154 is implemented
//let's make those tests not use hamcrest
//exclude group: 'org.hamcrest', module: 'hamcrest-core'
}