Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
/ uno-kata Public archive
forked from luontola/uno-kata

Exercise for practising writing readable tests.

License

Notifications You must be signed in to change notification settings

SoftDevGang/uno-kata

 
 

Repository files navigation

Uno Kata

This is a code kata for practising writing readable tests.

Tools

  • Java 11
  • Leiningen, a build tool for Clojure projects
  • IDE or editor with Clojure support
    • Cursive plugin for IntelliJ IDEA
      • It has 30 day trial, which is enough for this exercise, and you can get a free license for non-commercial stuff.
      • It's recommended to enable the Parinfer structural editing mode. When a Clojure file is open, select Edit > Structural Editing > Toggle Structural Editing Style a couple of times, until you see the message "Parinfer Indent Mode" pop up next to your cursor.
    • appropriate plugin for some other editor

Commands

Run tests once

lein test

Run tests always when a file is changed

lein autotest

The Exercise

This project implements the rules of Uno, a card game. Your assignment is to focus on writing as readable tests as possible. You have two options.

Option 1: Write new tests without looking at the existing tests in this project.

Option 2: Refactor the existing tests to be better.

About

Exercise for practising writing readable tests.

Resources

License

Stars

Watchers

Forks

Languages

  • Clojure 99.6%
  • Java 0.4%