How to actualice serenity 4.0 in gradle #3243
testingConGatos
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi experts.
On this moment i tryed execute my test whit chrome but this test failed.
itried implement this :
https://serenity-bdd.github.io/docs/tutorials/migrating_to_serenity_4
i change :
This is my dbuild gradle :
defaultTasks 'clean', 'test', 'aggregate'
repositories {
mavenCentral()
mavenLocal()
}
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "net.serenity-bdd:serenity-gradle-plugin:3.9.8"
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: "net.serenity-bdd.serenity-gradle-plugin"
sourceCompatibility = 16
targetCompatibility = 16
ext {
serenity_version = '3.9.7'
junit_platform_launcher_version="1.9.3"
cucumber_junit_platform_engine_version="7.2.3"
junit_platform_suite_version="1.9.3"
junit_jupiter_engine_version="5.9.3"
junit_vintage_engine_version="5.9.3"
logback_classic_version="1.2.10"
assertj_core_version="3.23.1"
}
dependencies {
dependencies {
testImplementation "net.serenity-bdd:serenity-core:${serenity_version}"
testImplementation "net.serenity-bdd:serenity-cucumber:${serenity_version}"
testImplementation "net.serenity-bdd:serenity-screenplay:${serenity_version}"
testImplementation "net.serenity-bdd:serenity-screenplay-webdriver:${serenity_version}"
testImplementation "net.serenity-bdd:serenity-ensure:${serenity_version}"
testImplementation "org.junit.platform:junit-platform-launcher:${junit_platform_launcher_version}"
testImplementation "io.cucumber:cucumber-junit-platform-engine:${cucumber_junit_platform_engine_version}"
testImplementation "org.junit.platform:junit-platform-suite:${junit_platform_suite_version}"
testImplementation "org.junit.jupiter:junit-jupiter-engine:${junit_jupiter_engine_version}"
testImplementation "org.junit.vintage:junit-vintage-engine:${junit_vintage_engine_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()
}
gradle.startParameter.continueOnFailure = true
test.finalizedBy(aggregate)
Beta Was this translation helpful? Give feedback.
All reactions