• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Write fast and clean tests with Cucumber for Java

 
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).

 
Master Rancher
Posts: 451
6
IntelliJ IDE Spring Fedora
  • 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: 562
1
VI Editor Chrome Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can it be pickled?
 
Marshal
Posts: 24594
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
Master Rancher
Posts: 451
6
IntelliJ IDE Spring Fedora
  • 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.
 
Rancher
Posts: 4117
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

:)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!