0

Having used RSpec in the past, I would like to use JSpec in my Java project. But I am unable to find install information in Maven Central repository or in JSpec. Would appreciate little direction.

Bala
  • 11,068
  • 19
  • 67
  • 120

1 Answers1

0

It is part of the JavaLite Common Package. You can find it in Maven Central: http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22javalite-common%22

ipolevoy
  • 5,432
  • 2
  • 31
  • 46
  • Thank you. I have added dependency but not sure which package to import. Is it `org.javalite.test.jspec.JSpec`? Even tried `org.javalite.test.*` but couldn;t find methods such as `..shouldBeEqual...` – Bala Sep 29 '14 at 15:49
  • You can look here: http://javalite.github.io/activejdbc/org/javalite/test/jspec/JSpec.html The package is: `org.javalite.test.jspec.JSpec` Here is the working code example: https://github.com/javalite/simple-example/blob/master/src/test/java/activejdbc/examples/simple/EmployeeSpec.java – ipolevoy Sep 30 '14 at 21:02
  • I added a section to the bottom of this page for convenience: http://javalite.io/jspec – ipolevoy Oct 01 '14 at 02:25
  • Thanks. I am trying to use JSpec with Cucumber-Jvm. Would love to see just one example at `javalite.io/jspec`. – Bala Oct 20 '14 at 15:31