Forum Discussion
s-glatshtein
New Contributor
About the first part, what do you mean that the jar should be executable? I am running the test class using JUnitCore class, not with CLI.
About the second part, I am using build.gradle and all the latest dependencies for all (or what was the latest). Here's the depedencies i use in my runner program:
dependencies {
// https://mvnrepository.com/artifact/org.testng/testng
// implementation group: 'org.testng', name: 'testng', version: '7.3.0'
implementation group: 'junit', name: 'junit', version: '4.12'
compile group: 'org.testng', name: 'testng', version: '7.3.0'
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine
implementation group: 'io.cucumber', name: 'cucumber-java', version: '6.10.0'
implementation group: 'io.cucumber', name: 'cucumber-junit', version: '6.10.0'
implementation group: 'io.cucumber', name: 'cucumber-testng', version: '6.10.0'
// https://mvnrepository.com/artifact/org.junit.platform/junit-platform-launcher
implementation group: 'org.junit.platform', name: 'junit-platform-launcher', version: '1.7.0'
}
s-glatshtein
4 years agoNew Contributor
Anyone has any ideas? How can i use cucumber with these CucumberOptions?
Related Content
- 7 months agoDexterK
Recent Discussions
- 12 days agopresence_03
- 5 months agopz1502