You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing below error while running integration tests. The integration test fails when the AcceptanceTestSuite class starts executing. We have upgraded gradle from 5.6.1 to 7.3.3. Thanks in advance.
com.corp.bdd.AcceptanceTestSuite > java.lang.Object.BeforeStories FAILED
net.serenitybdd.core.exceptions.SerenityManagedException at JUnitTestEventAdapter.java:58
Below are my serenity dependencies in my build.gradle
public class AcceptanceTestSuite extends SerenityStories {
public AcceptanceTestSuite() {
super();
findStoriesIn(TestIntegrationConstants.STORIES_FOLDER);
}
The text was updated successfully, but these errors were encountered:
premsagarbhamidipati
changed the title
com.swacorp.mx.spm.bdd.AcceptanceTestSuite > java.lang.Object.BeforeStories FAILED net.serenitybdd.core.exceptions.SerenityManagedException at JUnitTestEventAdapter.java:58
com.org.bdd.AcceptanceTestSuite > java.lang.Object.BeforeStories FAILED net.serenitybdd.core.exceptions.SerenityManagedException at JUnitTestEventAdapter.java:58
May 1, 2023
premsagarbhamidipati
changed the title
com.org.bdd.AcceptanceTestSuite > java.lang.Object.BeforeStories FAILED net.serenitybdd.core.exceptions.SerenityManagedException at JUnitTestEventAdapter.java:58
com.corp.bdd.AcceptanceTestSuite > java.lang.Object.BeforeStories FAILED net.serenitybdd.core.exceptions.SerenityManagedException at JUnitTestEventAdapter.java:58
May 1, 2023
Hi,
I am experiencing below error while running integration tests. The integration test fails when the AcceptanceTestSuite class starts executing. We have upgraded gradle from 5.6.1 to 7.3.3. Thanks in advance.
com.corp.bdd.AcceptanceTestSuite > java.lang.Object.BeforeStories FAILED
net.serenitybdd.core.exceptions.SerenityManagedException at JUnitTestEventAdapter.java:58
Below are my serenity dependencies in my build.gradle
buildscript {
repositories {
ext {
repoUrl = "nexus/repourl" }
maven { url repoUrl }
}
dependencies {
classpath 'com.bmuschko:gradle-cargo-plugin:2.6.2'
classpath 'net.serenity-bdd:serenity-gradle-plugin:2.0.40'
classpath 'org.apache.mina:mina-core:2.0.4'
classpath 'org.unbroken-dome.gradle-plugins:gradle-testsets-plugin:1.0.2'
}
sourceSets.main.java.srcDirs += '/gen-src/'
}
dependencies {
cargoruntime files("../service/build/libs/${rootProject.name}-service-${version}-${environmentName}.jar")
testImplementation "net.serenity-bdd:serenity-core:${serenityCoreVersion}"
testImplementation "net.serenity-bdd:serenity-jbehave:${serenityJBehaveVersion}"
testImplementation "net.serenity-bdd:serenity-spring:${serenityCoreVersion}"
testImplementation "org.apache.sshd:sshd-sftp:${sshdSftpVersion}"
testImplementation 'org.apache.sshd:sshd-core:0.10.1'
testImplementation "org.jvnet.mock-javamail:mock-javamail:${emailMockVersion}"
testImplementation "org.mockito:mockito-core:${mockitoVersion}"
testImplementation "com.icegreen:greenmail:${greenMailVersion}"
implementation LOG4J2
runtimeOnly('org.slf4j:slf4j-api:1.7.10') { exclude module: 'log4j'}
}
public class AcceptanceTestSuite extends SerenityStories {
public AcceptanceTestSuite() {
super();
findStoriesIn(TestIntegrationConstants.STORIES_FOLDER);
}
The text was updated successfully, but these errors were encountered: