ChicagoRuby: Downtown - Fast Rails Tests
Details
Have you seen the new ChicagoRuby Job Board? http://jobs.chicagoruby.org.
Corey Haines says... Look at your Rails unit test suite. Now look at mine. Now look at yours again. Mine are sub-second. Yours aren't. Having a slow unit test suite can hinder an effective test-first or test-driven approach to development. As you add tests, the suite starts to slow down to the point where you stop running them after each change. Some people even talk about multi-minute unit tests suites! Band-aids like spork are just covering up the problem. Test-driven development is a major player in keeping your design malleable and accepting of new features, but when you stop paying attention to the messages your tests are sending you, you lose this benefit.
In this talk, Corey Haines will go over some techniques for keeping your test suite lean and fast. Along the way, we'll discuss the design improvements that come out of these changes.
Now, look at my unit test suite again. Yours can be like mine.
About Corey Haines
After 12 years of coding for money, Corey Haines said enough and went on a year-long, journeyman pair-programming tour. Traveling the world, pair-programming for room and board, he spent his time teaching, learning and just living as a knowledge-cross-pollinating, little, software craftsmanship bee. For the past three years, Corey has focused his attention on helping developers improve their fundamental software design skills through the use of focused-practice events, such as coderetreat. Lately, Corey has been shifting his attention to getting kids excited about programming through building games in Scratch.
After most downtown meetings we head over to Elephant & Castle (185 N. Wabash) for refreshments & fellowship. Join us for a few minutes if you have time.
Please use your real name when you RSVP for downtown ChicagoRuby meetings. Reason: We are required to give a list of all attendees to the security desk prior to the meeting. If the name on your ID doesn't the match the name on the RSVP list, then Aon security (http://www.cuberick.com/2008/12/history-of-security-at-aon-center.html) will not let you in the building. Sorry for the inconvenience, but those are the rules of the Aon Building.
Be sure to check out the ChicagoRuby Job Board (http://jobs.chicagoruby.org/). ChicagoRuby attracts some of the sharpest minds in software development. If you are building a software team, this is the audience you want to reach. If you are looking to join a team, the ChicagoRuby Job Board features employers who take team building seriously. http://jobs.chicagoruby.org (http://jobs.chicagoruby.org/)
