Summary
In this tutorial, you started building a Ruby library test first. In addition to writing tests and code, you
learned to apply these principles to refactoring to improve the code you'd written. You also learned about the
Test::Unit library, ZenTest, unit_diff, and mock objects.
By applying these ideas in your day-to-day Ruby programming, you'll be able to write code faster. Your code
will also be better tested, more robust, and easier to debug, optimize, and extend.
7 of 9 |
Previous |
Next
Comments
Back to top
Help: Update or add to My dW interests
What's this?
This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.
And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.
View your My developerWorks profile
Return from help
static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Open source
ArticleID=133686
TutorialTitle=Test-first programming with Ruby
publish-date=05242005
author1-email=pat.eyler@gmail.com
author1-email-cc=