Skip to content

jastice/ultratestable-coding-style

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ultratestable Coding Style

A simple way to make your logic code easier to test.

Inspired by Blog post by Jessitron, a refactoring practice.

This repository contains a Java 8 application that reads a file, asynchronously saves the rate at which words occur, and censors words which occur too often per minute.

Run the app

mvn exec:java

This will run the SuperAsyncCensorMachine on "War and Peace".

The task

Refactor the censoring mechanism so that you can test the logic without dealing with the asynchronous bits.

About

Ultratestable Coding Style - presentation material and kata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages