Is there any documentation on how to get started using this library?
ppazos opened this issue · comments
I'm need to check what this library offers vs. using cucumber-jvm directly. Thanks.
Hi @ppazos ,
I'm working on creating some. Wont be much different to how cucumber-jvm is used.
You can take a look at example project before I get documentation ready.
Thanks @glib-briia did you check the old cucumber-groovy project?
@glib-briia tested the project, mvn test throws
[
INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:52 min
[INFO] Finished at: 2018-12-29T00:30:10-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project groovy-examples: Could not resolve dependencies for project io.cucumber:groovy-examples:jar:4.2.1-SNAPSHOT: Could not find artifact io.cucumber:cucumber-groovy:jar:4.2.1-SNAPSHOT -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
You could check the docs if the setup would be similar to Java.
@mlvandijk did you tried it? I already read the docs. This is as far as I could get. Maybe you have better luck and can give more specific feedback.
@ppazos Sorry, I don't use Groovy (only Java and Kotlin).
I can build this project locally though (current master), using mvn clean install
.
Since your error message is saying it cannot find the SNAPSHOT; did you check you have the snapshot built locally?
Hi @ppazos ,
That's right, example project is child of cucumber-jvm-groovy, so you'll need to run mvn install
in the root of the repository (e.g. cd cucumber-jvm-groovy & mvn install
).
After going that you'll be able to runmvn test
against example project.
Documentation added to README.md