ihassin / cucumber-jvm

Setup for a demo Java project using Cucumber-JVM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cucumber-JVM Demo

This is a simple example of how to get started with "TDD, BDD and all that Jazz: The road to crystal clear executable requirements". It was shown at The New York XP & Agile Meetup Group (New York, NY) on Monday 2014-11-03.

Build Status

Setup

To get started:

bash
$ git clone git@github.com:ihassin/cucumber-jvm.git
$ cd cucumber-jvm

Make sure you have maven installed

brew install maven

Running

$ mvn clean test

Example feature file

Please see here.

Tips

Set up a pre-commit hook in git to assure that committed code is tested prior to commit to the repo.

My .git/hooks/pre-commit file looks like this:

#!/bin/sh
mvn clean test

About

Setup for a demo Java project using Cucumber-JVM


Languages

Language:Java 74.2%Language:Gherkin 25.8%