Crystal Koans Save

The Crystal Programming Language Koans

Project README

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

  1. run crystal run koans.cr to make a small step at a time or run crystal spec to run all the tests at once
  2. observe the test errors
  3. think and make the test pass
  4. goto step 1

Automatic Usage (run tests on save)

  1. install shard dependencies with shards install
  2. open a separate terminal and run crystal run watch.cr. Keep it open and visible
  3. observe the test errors, think and make the test pass
  4. tests will automatically run as you save the files. Press CTRL-C to stop the watcher

Contributing

  1. Fork it ( https://github.com/ilmanzo/crystal-koans/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Open Source Agenda is not affiliated with "Crystal Koans" Project. README Source: ilmanzo/crystal-koans
Stars
46
Open Issues
1
Last Commit
6 months ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating