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: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/alvarogarcia7/character-copy-kata-description-php
- Owner: alvarogarcia7
- License: mit
- Created: 2019-11-27T09:06:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-27T09:17:04.000Z (over 6 years ago)
- Last Synced: 2025-02-28T09:24:27.485Z (over 1 year ago)
- Topics: character-copy-kata, composer, description, kata, kata-description, php, phpunit, starter
- Language: PHP
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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