This project simplifies doing code katas in ruby. It has RSpec and cucumber setup (including code coverage) and provides some shell scripts to simplify use from the command line.
- Checkout this project from git -
git clone [email protected]:julias-shaw/ruby_kata_starter.git
- Change into the project directory -
cd ruby_kata_starter
- Install the correct version of ruby
asdf install
- Install bundler -
gem install bundler
- You may be prompted
- Install rubygems -
bundle install
Rake file and shell scripts to:
- Run all functional tests -
bundle exec rake features
orfunctional_test.sh
- Run all unit tests -
bundle exec rake spec
orunit_test.sh
- Watch for file changes and automatically run unit tests -
bundle exec guard
orwatch_unit_tests.sh