-
Notifications
You must be signed in to change notification settings - Fork 85
/
build.gradle
72 lines (60 loc) · 2.36 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
66
67
68
69
70
71
72
defaultTasks 'clean', 'test', 'aggregate'
repositories {
mavenCentral()
mavenLocal()
}
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "net.serenity-bdd:serenity-gradle-plugin:4.1.14"
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: "net.serenity-bdd.serenity-gradle-plugin"
sourceCompatibility = 17
targetCompatibility = 17
ext {
SERENITY_VERSION = '4.1.14'
JUNIT_PLATFORM_VERSION = '1.10.2'
CUCUMBER_JUNIT_PLATFORM_VERSION = '7.14.0'
JUNIT_JUPITER_VERSION = '5.10.2'
JUNIT_VINTAGE_VERSION = '5.10.2'
LOGBACK_CLASSIC_VERSION = '1.2.10'
ASSERTJ_CORE_VERSION = '3.25.3'
}
dependencies {
implementation "net.serenity-bdd:serenity-core:${SERENITY_VERSION}"
implementation "net.serenity-bdd:serenity-junit:${SERENITY_VERSION}"
implementation "net.serenity-bdd:serenity-junit5:${SERENITY_VERSION}"
implementation "net.serenity-bdd:serenity-screenplay:${SERENITY_VERSION}"
implementation "net.serenity-bdd:serenity-screenplay-webdriver:${SERENITY_VERSION}"
implementation "net.serenity-bdd:serenity-ensure:${SERENITY_VERSION}"
implementation "net.serenity-bdd:serenity-cucumber:${SERENITY_VERSION}"
implementation "ch.qos.logback:logback-classic:${LOGBACK_CLASSIC_VERSION}"
implementation "org.assertj:assertj-core:${ASSERTJ_CORE_VERSION}"
testImplementation "org.junit.platform:junit-platform-launcher:${JUNIT_PLATFORM_VERSION}"
testImplementation "io.cucumber:cucumber-junit-platform-engine:${CUCUMBER_JUNIT_PLATFORM_VERSION}"
testImplementation "org.junit.platform:junit-platform-suite:${JUNIT_PLATFORM_VERSION}"
testImplementation "org.junit.jupiter:junit-jupiter-engine:${JUNIT_JUPITER_VERSION}"
testImplementation "org.junit.vintage:junit-vintage-engine:${JUNIT_VINTAGE_VERSION}"
testImplementation "net.serenity-bdd:serenity-saucelabs:${SERENITY_VERSION}"
}
test {
useJUnitPlatform()
systemProperties System.getProperties()
maxParallelForks = 2
}
serenity {
// Specify the root package of any JUnit acceptance tests
testRoot = "net.serenitybdd.demos.todos"
// Specify the root directory of any Cucumber feature files
requirementsDir = "src/test/resources/features"
}
gradle.startParameter.continueOnFailure = true
test.finalizedBy(aggregate)