Test-driven development (TDD) and Command-line interface (CLI) design
Read by class time 9/22
- Read the Wikipedia article on
Test-Driven Development (TDD).
The core idea here is very simple, but as you'll see from the Wikipedia article,
it has accumulated a lot of formalism. Read from the beginning up through the "Limitations" section.
- Exploring CLI Best Practices,
by Kevin Deisz.
There are many articles about this topic online. This one is a good place to start because
the author gives you a numbered list of pretty straight-forward general principles to
work with. You can stop reading after principle #12, since the rest is
less generally about the topic at hand.
- Here's another solid article:
Best Practices Building a CLI Tool for Your Service,
by Adam DuVander