crystal-koans
所属分类:collect
开发工具:Crystal
文件大小:0KB
下载次数:0
上传日期:2023-04-15 14:33:11
上 传 者:
sh-1993
说明: Crystal编程语言Koans,
(The Crystal Programming Language Koans,)
文件列表:
.travis.yml (18, 2023-10-23)
LICENSE (1081, 2023-10-23)
assets/ (0, 2023-10-23)
assets/data/ (0, 2023-10-23)
assets/data/create_table_cars.sql (448, 2023-10-23)
assets/data/drop_table_cars.sql (30, 2023-10-23)
assets/ecr/ (0, 2023-10-23)
assets/ecr/basic.ecr (14, 2023-10-23)
assets/ecr/comments_and_tags.ecr (79, 2023-10-23)
assets/ecr/greetings.ecr (123, 2023-10-23)
assets/ecr/loops.ecr (133, 2023-10-23)
assets/sample.txt (12, 2023-10-23)
assets/xml/ (0, 2023-10-23)
assets/xml/breakfast_menu.xml (979, 2023-10-23)
assets/xml/note.xml (119, 2023-10-23)
assets/xml/plant_catalog.xml (6795, 2023-10-23)
koans.cr (1954, 2023-10-23)
lib/ (0, 2023-10-23)
lib/mynestedlib/ (0, 2023-10-23)
lib/mynestedlib/mynestedlib.cr (19, 2023-10-23)
lib/mynestedlib/otherlib.cr (19, 2023-10-23)
lib/mysrclib/ (0, 2023-10-23)
lib/mysrclib/src/ (0, 2023-10-23)
lib/mysrclib/src/mysrclib.cr (17, 2023-10-23)
lib/simplelib.cr (18, 2023-10-23)
lib/spec_helper.cr (171, 2023-10-23)
shard.lock (150, 2023-10-23)
shard.yml (238, 2023-10-23)
spec/ (0, 2023-10-23)
spec/annotations_spec.cr (837, 2023-10-23)
spec/arrays_spec.cr (873, 2023-10-23)
spec/bigdecimal_spec.cr (1257, 2023-10-23)
spec/bigint_spec.cr (651, 2023-10-23)
spec/bitarray_spec.cr (654, 2023-10-23)
spec/blocks_spec.cr (581, 2023-10-23)
spec/booleans_spec.cr (553, 2023-10-23)
... ...
# The Crystal Language Koans
Inspired from RubyKoans, CppKoans, GoKoans; an educational unit test suite for
the [Crystal Programming Language](https://crystal-lang.org/) 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
- [ilmanzo](https://github.com/ilmanzo) Andrea Manzini - creator, maintainer
- [Daniel Sokil](https://github.com/s0kil)
- [Dorian Marié](https://github.com/dorianmariefr)
- [Jack Kavanagh](https://github.com/jackkav)
- [collidedscope](https://github.com/collidedscope)
近期下载者:
相关文件:
收藏者: