Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nevillelyh/scio-koans
A collection of Scio exercises inspired by Ruby Koans and many others.
https://github.com/nevillelyh/scio-koans
algebird data scala scio
Last synced: 3 months ago
JSON representation
A collection of Scio exercises inspired by Ruby Koans and many others.
- Host: GitHub
- URL: https://github.com/nevillelyh/scio-koans
- Owner: nevillelyh
- License: apache-2.0
- Created: 2020-06-03T00:00:33.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-24T17:39:33.000Z (over 3 years ago)
- Last Synced: 2024-10-04T13:39:40.355Z (3 months ago)
- Topics: algebird, data, scala, scio
- Language: Scala
- Homepage:
- Size: 110 KB
- Stars: 17
- Watchers: 3
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
scio-koans
==========[![Build Status](https://img.shields.io/github/workflow/status/nevillelyh/scio-koans/CI)](https://github.com/nevillelyh/scio-koans/actions?query=workflow%3ACI)
[![GitHub license](https://img.shields.io/github/license/nevillelyh/scio-koans.svg)](./LICENSE)A collection of [Scio](https://github.com/spotify/scio) exercises inspired by [Ruby Koans](http://rubykoans.com/) and many others.
# Usage
Clone the repository and start the [sbt](https://www.scala-sbt.org/) console. You need to use Java 8 for now.
```bash
git clone https://github.com/nevillelyh/scio-koans.git
cd scio-koans
sbt
```Run `~nextKoan` inside the console. This will watch your local files and run the next pending koan in repeat.
Fix any issues in the Koan to make tests pass. Replace any missing implementations like `???` or `?[T]` (something of type `T`) with your solution.
Once the test is green, and you are satisfied with the solution, remove the first line in the Koan, `ImNotDone`, to move on to the next one. You can also remove `ImNotDone` to skip a Koan.
Here are all the tasks available.
- `allKoans` - show all Koans and their status
- `nextKoan` - run the next pending Koan
- `test` - run all Koans
- `testOnly ` - run a specific Koan, e.g. `testOnly scio.koans.a1_collections.K00_Jmh`# License
Copyright 2020 Neville Li.
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0