You can write a small Ruby library in only a few lines. But then it grows, it expands and then it starts to break and become a maintenance nightmare. Since its open source you just stop working on it. Users complain that the project has been abandoned. Your project ends up causing more grief for everyone than if you'd never written it at all.
Instead, we will learn to write all Ruby libraries, RubyGems with tests.
This session is NOT about "how to do TDD". More importantly this session will teach you:
* the one command you should run before starting any new Ruby project
* the best way to write tests for command-line apps, Rake tasks and other difficult to test code
* how to do Continuous Integration of your Ruby/Rails libraries with runcoderun.com
Once you know how to write tests for all Ruby code, you'll want to do it for even the smallest little libraries and have the confidence to know your code always works.