aspose file tools*
The moose likes Testing and the fly likes Minimum jar's to run Simple Cucumber with Junit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Minimum jar Watch "Minimum jar New topic
Author

Minimum jar's to run Simple Cucumber with Junit

sarada bokka
Ranch Hand

Joined: Jan 13, 2010
Posts: 80
Hi All,

I am trying to run Java calculator example provided in https://github.com/cucumber/cucumber-jvm/tree/master/examples

add the jars files http://search.maven.org/#search|ga|1|cucumber and http://search.maven.org/#search|ga|1|gherkin

1) cucumber java
2)cucumber junit
3)cucumber core
4)gherkin
5)junit

and trying to run as Junit in eclipse

it throws error NoClassDefFoundError: com/thoughtworks/xstream/converters/Converter
added cucumber groovy.jar throws other error

java.lang.NoClassDefFoundError: groovy/lang/GroovyShell
at java.lang.Class.getDeclaredConstructors0(Native Method)

could some one let me know what are the minimum jar files required to run this sample example???



sarada bokka
Ranch Hand

Joined: Jan 13, 2010
Posts: 80
It's resolved :-)!

added the jar's

1) cucumber java
2)cucumber junit
3)cucumber core
4)gherkin
5)junit
6)xstream
7)cucumber piocontainer
8)piocontainer
 
Consider Paul's rocket mass heater.
 
subject: Minimum jar's to run Simple Cucumber with Junit