/play-cucumber

Play! Framework Cucumber Plugin

Primary LanguageJava

Play! Framework Cucumber plugin

This plugin provide a cucumber-jvm integration into the Play! Framework. Cucumber (aka Cukes) is a tool that executes plain-text functional descriptions as automated tests.

Install

Just add this line in your conf/dependencies.yml file:

   - play -> cucumber 0.1 

Write your specification

You must write your specifications in a Business Readable, Domain Specific Language. Cucumber supports the Gherkin syntax.

You must store your .feature files in the features directory and write your Glue code in test directory. You can see an example here: https://github.com/jeromebenois/play-cucumber-sample

Getting Started in Web browser

Go to http://localhost:9000/@cukes to run the cucumber tests.

Getting Started in command line

Run this command:

    play cukes
Have Fun with play-cucumber!