Home » Videos

Test-Driven Development for Command-line Applications

13 February 2012 No Comment

How do you do Test-Driven Development (TDD) with command-line tools? How does one make a failing test for a missing command-line option? This video answers these questions with some real-world examples.

It discusses the challenges specific to testing command-line apps and then presents techniques for organizing code for testability, tools for interacting with the filesystem, and how to create full-blown acceptance tests for your command-line applications. You will be able to write your command-line applications the same way you write your other code: test-first.

Video Producer: Golden Gate Ruby Conference

Related Content:

Comments:

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.

*