Awesome
The Crystal Language Koans
Inspired from RubyKoans, CppKoans, GoKoans; an educational unit test suite for the Crystal Programming Language and standard library.
Installation
- clone this repository:
git clone "https://github.com/ilmanzo/crystal-koans"
Manual Usage
- run
crystal run koans.cr
to make a small step at a time or runcrystal spec
to run all the tests at once - observe the test errors
- think and make the test pass
- goto step 1
Automatic Usage (run tests on save)
- install shard dependencies with
shards install
- open a separate terminal and run
crystal run watch.cr
. Keep it open and visible - observe the test errors, think and make the test pass
- tests will automatically run as you save the files. Press CTRL-C to stop the watcher
Contributing
- Fork it ( https://github.com/ilmanzo/crystal-koans/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- ilmanzo Andrea Manzini - creator, maintainer
- Daniel Sokil
- Dorian MariƩ
- Jack Kavanagh
- collidedscope