Skip to content
An unofficial refreshed version of Scala Koans
Scala Java
Branch: master
Clone or download
Latest commit 914a263 Jun 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
project Update to scala 2.13 Jun 25, 2019
src Merge pull request #6 from SuprF1y/range-refactor-and-additional-koans Apr 23, 2019
.gitignore More eclipse dotfiles for gitignore Oct 18, 2018
.travis.yml Initial Commit Jun 18, 2018
LICENSE Initial Commit Jun 18, 2018
README.md Usage instructions for running a single test suite Oct 18, 2018
build.sbt Update to scala 2.13 Jun 25, 2019

README.md

Scala Koans

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.

Build Status

Requirements

The Java 8 JDK and Scala 2.12 are required to build the project. 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.

Usage

# (using sbt)
sbt namaste
# or
sbt "~testOnly org.scalakoans.Koans"

# run a single test suite
sbt "~testOnly org.scalakoans.<name of test suite>"

Contributing

I would love to make this test suite more useful and welcome all Pull Requests.

TODO

  • Improve logging
  • Reconsider koan order
  • Expand beyond original set of koans
  • Suppress some warnings during compilation

Original Versions

LICENSE

Scala Koans is licensed under Creative Commons CC BY-NC-SA 3.0

You can’t perform that action at this time.