WordWrap Test Design Kata
This repo contains several implementations of the Word Wrap Kata. There is one test to start you off, that tests all the implementations. Write further tests so you cover all the interesting functionality and edge cases. You should be able to write tests in such a way that the same tests will exercise all the various implementations.
What can you learn about the concepts of white box testing and black box testing from this exercise? Or about writing tests that are resistant in the face of refactoring?
Acknowledgements
The Word Wrap Kata was originally invented by Robert C. Martin. The code in this repo is by various authors which are credited in the relevant source files.