Skip to content

jterhune/grails-cucumber

 
 

Repository files navigation

What's this?

grails-cucumber is a Grails plugin for Cucumber based on Cucumber-JVM.

Goals

  • integrate cucumber (via cucumber-jvm) into the grails test runner as a grails test type "cucumber" to run cucumber scenarios via grails test-app
  • use Geb in cucumber (groovy) steps definitions

Current State

It is not yet production ready... but it is basically working:

  • it does run a super simple test feature "dummy.feature" with groovy step definitions.
  • the cucumber features are stored in the test/cucumber folder (along the other grails test stuff) and the (groovy) step definitions in test/cucumber/step_definitions
  • run cucumber features only with grails test-app cucumber:

Todo

  • create grails like test-report (done)
  • the test report summary prints "Testcase: unknown took 0.065 sec", I do not yet understand why it prints unknown instead of the scenario name
  • remove progress/debug println stuff
  • run cucumber scenarios against the grails app (enable functionalTestPhase)
  • use grails like configuration for tags, language
  • examples

About

a Grails plugin for Cucumber

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Groovy 100.0%