Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Programmers Guide to Apache Thrift this week in the Open Source forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Write fast and clean tests with Cucumber for Java  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Here is a small and powerful library which helps you rapidly develop a test framework for writing Cucumber test scenarios in order to test all sorts of APIs (HTTP REST, database, etc):

*Cucumber Utils*  - https://github.com/fslev/cucumber-utils

It uses behind the scenes, the latest version of Cucumber for Java (4.x) and Cucumber Guice.
This  *tutorial*  will help you setup your test framework:
https://github.com/fslev/cucumber-utils-tutorial

You will see that test scenarios are clean, detailed and easy to write, since all defined Cucumber steps are reusable (by describing the API and not the business).

 
Rancher
Posts: 427
6
Fedora IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think cucumber is a great name.  very tasty

Oh this only for testing with cucumber which is some other product.. didn't know
 
Ranch Hand
Posts: 548
1
Chrome Linux VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can it be pickled?
 
Marshal
Posts: 24459
55
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might have to wait for lucky Java 13 for the "gherkin" feature.
 
Al Hobbs
Rancher
Posts: 427
6
Fedora IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
haha, i don't think so. After looking at it, cucumber seems kind of overkill but I dunno anything about BDD.
 
Master Rancher
Posts: 4072
47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Paul Clapham wrote:You might have to wait for lucky Java 13 for the "gherkin" feature.



It's already part of Cucumber:
Gherkin

:)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!