Shuhari generates new projects for doing TDD Kata.
Switch to your global gemset if you're using rvm:
$ rvm use @global
Install the gem:
$ gem install shuhari
Get help on shuhari commands:
$ shuhari help
Create your kata project:
$ shuhari new MyAwesomeKata
Bundle your gems:
$ cd my_awesome_kata $ bundle
Start guard to run your tests automatically:
Do your kata! Guard will monitor your files and run your tests automatically whenever you make a change.
When you finish your kata:
$ shuhari empty
Your project is empty again (your tests and code are removed) and you can restart your kata!
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request