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.
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
$ mvn clean test
Please see here.
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