Skip to content

bsamaripa/scala-koans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Scala Koans

Requirements

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.

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

  • New Scala Koans domain and site
  • 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

About

An unofficial refreshed version of Scala Koans

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published