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

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

 
Rancher
Posts: 527
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: 574
VI Editor Chrome Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can it be pickled?
 
Marshal
Posts: 25427
65
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: 527
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: 4538
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

:)
 
Arthur, where are your pants? Check under this tiny ad.
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
    Bookmark Topic Watch Topic
  • New Topic