Discussion:
[Cucumber] Which jars to use?
(too old to reply)
'Michael Cunningham' via Cukes
2018-08-21 19:54:24 UTC
Permalink
Raw Message
Hi,
I'm just starting Cucumber with Java so please forgive me asking these
questions - I did check through existing posts and could not find answers.

I am using "The Cucumber for Java" book The book was published in 2015,
when the latest jar libraries were in the info.cukes maven group. According
to the latest information on stackoverflow.com these libraries were
superseded by cucmber.io maven group in 2016. But all the examples I've
seen online still refer to the info.cukes libraries

Some differences are quite profound : Most notable is that info.cukes
prompts the user with method signatures with regex arguments, whereas
io.cucumber prompts with Java primitive types (String, int etc).

There is also a different list of jars to be added to the classpath,
io.cucumber needs cucumber-expressions.jar, datatable.jar and
datatable-dependencies.jar.

The behaviour of some CLI options are also different.

Bottom line - can anyone tell me which libraries I should start using?

regards,
Michael Cunningham
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
aslak hellesoy
2018-08-22 22:07:09 UTC
Permalink
Raw Message
Have a look at the installation instructions:
https://docs.cucumber.io/installation/java/

On Wed, Aug 22, 2018 at 11:05 PM 'Michael Cunningham' via Cukes <
Post by 'Michael Cunningham' via Cukes
Hi,
I'm just starting Cucumber with Java so please forgive me asking these
questions - I did check through existing posts and could not find answers.
I am using "The Cucumber for Java" book The book was published in 2015,
when the latest jar libraries were in the info.cukes maven group. According
to the latest information on stackoverflow.com these libraries were
superseded by cucmber.io maven group in 2016. But all the examples I've
seen online still refer to the info.cukes libraries
Some differences are quite profound : Most notable is that info.cukes
prompts the user with method signatures with regex arguments, whereas
io.cucumber prompts with Java primitive types (String, int etc).
There is also a different list of jars to be added to the classpath,
io.cucumber needs cucumber-expressions.jar, datatable.jar and
datatable-dependencies.jar.
The behaviour of some CLI options are also different.
Bottom line - can anyone tell me which libraries I should start using?
regards,
Michael Cunningham
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...