exercism / scala

Exercism exercises in Scala.
https://exercism.org/tracks/scala
MIT License
123 stars 132 forks source link
community-contributions-paused exercism-track maintained-solitary

Exercism Scala Track

Exercism Exercises in Scala

Contributing Guide

Please see the contributing guide

Scala exercises are run by the scala-test-runner. It ignores the dependencies listed in the sbt files of the exercises. It's important to add all dependencies necessary to run the exercise to the scala-test-runner's dependencies.

Generated Test Suites

testgen contains a project for generating test suites from canonical test data.

You can run it as follows:

sbt testgen / run <exercise-slug> <path-to-canonical-data> <optional-path-to-generated-file>

where:

Note, that existing iteration of the testgen is not yet used.

Pull Requests

We welcome pull requests that provide fixes to existing test suites (missing tests, interesting edge cases, improved APIs), as well as new problems.

If you're unsure, then go ahead and open a GitHub issue, and we'll discuss the change.

Please submit changes to a single problem per pull request unless you're submitting a general change across many of the problems (e.g. formatting).

Scala icon

The Scala icon used on Exercism is inspired by the official Scala logo, which is copyright École Polytechnique Fédérale de Lausanne.