Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alvarogarcia7/character-copy-kata-description-php


https://github.com/alvarogarcia7/character-copy-kata-description-php

character-copy-kata composer description kata kata-description php phpunit starter

Last synced: 23 days ago
JSON representation

Awesome Lists containing this project

README

        

# Character Copy Kata

## Introduction

This is a legacy code kata, to practice breaking the dependencies (i.e., dependency-breaking techniques)

## Description

This is an `REPL` program:

* Read from the console
* Evalutate the line (Identity function)
* Print the evaluation
* Loop (again)

## Tasks

### Adding tests

Add tests for the functionality

### Evaluation improvement

Detect bad words (read them from a CSV file, one word per line). Do not alter the printing yet.

### Printing improvement

When detecting bad words, print "****" (one star for each character).
The detection invalidates the whole line, not only the bad word itself