Hey, guys,
I am implementing the E2E Test Framework and would like to use the zephyr-sync plugin to use the Test Management in Jira.
My project is in Kotlin and Gradle.
When I add the zephyr-sync configs to the build.gradle the build is failing with the error:
Could not find or load main class lv.ctco.zephyr.Runner
Caused by: java.lang.ClassNotFoundException: lv.ctco.zephyr.Runner
So, my build.gradle is (the same way like in the README):
...
dependencies {
...
testImplementation("lv.ctco.zephyr:zephyr-sync-report-cucumber:0.0.17")
testImplementation("lv.ctco.zephyr:zephyr-sync-cli:0.0.17")
}
...
task zephyrSync {
javaexec{
main = "lv.ctco.zephyr.Runner"
classpath = sourceSets.main.output + sourceSets.test.output
args = ["--username=SPCABC", "--password=123456", "--reportType=cucumber", "--projectKey=ABC",
"--releaseVersion=Release 2.1", "--jiraUrl=http://jira.yourcompany.com/rest/", "--reportPath=build/cucumber-report/report.json"]
}
}
Do you know what might be the reason?
I've tried also to set classpath directly to the local *.jar file, but with no success as well.
Thank you in advance for your help!
Best regards,
Mikhail
Hey, guys,
I am implementing the E2E Test Framework and would like to use the zephyr-sync plugin to use the Test Management in Jira.
My project is in Kotlin and Gradle.
When I add the zephyr-sync configs to the build.gradle the build is failing with the error:
So, my build.gradle is (the same way like in the README):
Do you know what might be the reason?
I've tried also to set classpath directly to the local *.jar file, but with no success as well.
Thank you in advance for your help!
Best regards,
Mikhail