Search code examples
seleniumframeworkscucumberbdd

cucumber.io VS info.cukes , which group i should use for developing the cucumber framework


cucumber jars for selenium are given by info.cukes and cucucumber.io , which one should i use. Any specific reason to use any of these

one difference i have observed is that when i have cucumber-java,cucumber-junit,cucumber-jvm,cucumber-jvm-deps, cucumber-reporting, cucumber-picocontainer jars from info.cukes, few features like inheritance ,dependency injunction are not working, when i have changed info.cukes to cucumber.io in pom.xml, the fatures are working. I am not sure if this is because of the info-cucks jars are not working or supported. Is these info.cukes groups is not suitable for cucumber project

Want to know which group jars i should use.


Solution

  • info.cukes is deprecating slowly and it's not encouraged for further use. Most of the automation scripts written using info.cukes are migrated to io.cucumber info.cukes was switched to io.cucumber to accompany changes in Gherkin jars which was consumed by Cucumber-JVM. The info.cukes version of Gherkin is located in https://mvnrepository.com/artifact/info.cukes/gherkin and the io.cucumber version is at https://mvnrepository.com/artifact/io.cucumber/gherkin

    It is very important not to mix up the two groupIds in the same POM. It should be same for all the cucumber jar dependencies.