-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
74 lines (62 loc) · 2.49 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
73
74
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.0.27"
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: "net.serenity-bdd.serenity-gradle-plugin"
sourceCompatibility = 16
targetCompatibility = 16
ext {
SERENITY_VERSION = '4.0.27'
JUNIT_PLATFORM_VERSION = '1.10.0'
CUCUMBER_JUNIT_PLATFORM_VERSION = '7.14.0'
JUNIT_JUPITER_VERSION = '5.10.0'
JUNIT_VINTAGE_VERSION = '5.10.0'
LOGBACK_CLASSIC_VERSION = '1.2.10'
ASSERTJ_CORE_VERSION = '3.22.0'
}
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 "net.serenity-bdd:serenity-browserstack:${SERENITY_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}"
implementation "ch.qos.logback:logback-classic:${LOGBACK_CLASSIC_VERSION}"
testImplementation "org.assertj:assertj-core:${ASSERTJ_CORE_VERSION}"
}
test {
useJUnitPlatform()
// testLogging.showStandardStreams = true
systemProperties System.getProperties()
maxParallelForks = 8
}
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)