ipereziriarte / play-cucumber

Play! Framework Cucumber Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


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!


Play! Framework Cucumber Plugin