Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Does Java has equivalents to Cucumber and RSpec?

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
Ruby/Rails enjoy some really nice and powerful testing libraries like Cucumber and RSpec.
Does Java has the same libraries?
Thanks.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about... Cucumber and RSpec? There's also Spock, easyb, etc.

You simply cannot write libraries like that in Java: they're internal DSLs, for which Java has abysmal support. Just use the appropriate JVM language and the framework of your choice.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So it is possible to test Java code via JRuby and Cucumber?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course; JRuby has complete Java integration.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic