https://github.com/patrickgombert/erlang-koans
Erlang Koans
https://github.com/patrickgombert/erlang-koans
Last synced: 3 months ago
JSON representation
Erlang Koans
- Host: GitHub
- URL: https://github.com/patrickgombert/erlang-koans
- Owner: patrickgombert
- License: other
- Created: 2013-01-07T03:19:16.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2020-03-31T00:58:45.000Z (about 6 years ago)
- Last Synced: 2024-11-14T12:51:17.592Z (over 1 year ago)
- Language: Erlang
- Size: 103 KB
- Stars: 175
- Watchers: 12
- Forks: 71
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-by-example - Erlang Koans: A set of koans for learning Erlang
README
## Erlang Koans
Inspired by the ruby koans.
### Usage with Docker
To run the koans with docker use `make run`
### Usage
The koans are intended to only rely on erlang and the erlang scripting environment escript. The testing framework is eunit.
To run the koans use the koans executable with the command `escript koans`. This will compile your code and provide the next failing test in the suite to pass.
To run the development tests with substituted answers from answers.config use the command `escript koans test`.
To show a hint for the current koan, use `escript koans hint`.
### Erlang Installation
Use the included `Makefile` if you have docker installed, otherwise see the installation guide.