Koans are small lessons on the path to enlightenment. The aim of the Scala Koans project is to provide an easy learning environment in Scala. Your insight will be derived by encountering failing tests and fixing them so that they pass. A testing framework is used to simplify this process and to get you off to a good start with using Scala.
This project is based on the many versions of ScalaKoans I have found. I wanted to bring this up to current (2.12.x) standards so others can benefit from this. I am no way affiliated with the original authors. Please see ScalaKoans.org for more info.
The Java 8 JDK and sbt 1.x are required to build this project. Included is an sbt
script that should run without installing sbt on your system.
The koans can be run using either the sbt shell or an IDE of your choice, though sbt is preferred because of its simpler setup.
# (using sbt)
sbt namaste
# or
sbt "~testOnly org.scalakoans.Koans"
# run a single test suite
sbt "~testOnly org.scalakoans.<name of test suite>"
I would love to make this test suite more useful and welcome all Pull Requests.
- New Scala Koans domain and site
- Improve logging
- Reconsider koan order
- Expand beyond original set of koans
- Suppress some warnings during compilation
Scala Koans is licensed under Creative Commons CC BY-NC-SA 3.0