-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
65 lines (49 loc) · 1.79 KB
/
build.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
['idea', 'java'].each({ apply plugin: it })
sourceCompatibility = 1.7
version = '1.0'
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
repositories {
mavenCentral()
}
dependencies {
compile 'ca.uhn.hapi.fhir:hapi-fhir-base:2.3'
compile 'ca.uhn.hapi.fhir:hapi-fhir-structures-dstu3:2.3'
compile 'com.io7m.xom:xom:1.2.10'
testCompile group: 'junit', name: 'junit', version: '4.11'
testCompile group: 'com.jayway.restassured', name: 'rest-assured', version: '2.9.0'
testCompile group: 'com.jayway.restassured', name: 'json-path', version: '2.9.0'
testCompile group: 'com.google.code.gson', name: 'gson', version: '2.2.4'
testCompile 'com.thoughtworks.xstream:xstream:1.4.7'
testCompile 'org.seleniumhq.selenium:selenium-java:2.43.0'
testCompile 'org.hamcrest:java-hamcrest:2.0.0.0'
}
task wrapper(type: Wrapper) {
gradleVersion = '1.12'
}
task setup (type: Test) {
useJUnit {
excludeCategories ('categories.FunctionalTest', 'categories.MciApiTest', 'categories.PerfTest', 'categories.ApiTest')
includeCategories 'categories.DatasetupTest'
}
testLogging {
exceptionFormat "full" // default is "short"
events "passed", "skipped", "failed"
}
beforeTest { descriptor ->
logger.lifecycle("Running test: " + descriptor)
}
}
task runFunctionalTest(type:Test) {
useJUnit {
excludeCategories ('categories.FunctionalTest', 'categories.MciApiTest', 'categories.PerfTest','categories.DatasetupTest')
includeCategories 'categories.ApiTest'
}
testLogging {
exceptionFormat "full" // default is "short"
events "passed", "skipped", "failed"
}
beforeTest { descriptor ->
logger.lifecycle("Running test: " + descriptor)
}
}