Fast rails tests
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, I 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.
rails  rspec  ruby  test 
november 2013
« earlier      
agile ajax analytics android antispam api appengine apple art axis backbone bitcoin blogs bme bolsa books business caching capistrano charts clubs coffeescript cookies css cyberpunk databases debug delicious deporte design discotecas diy dojo drupal dvd ebooks ec2 eclipse economia economy email emprendedores emulators erlang eventos events ew_providers examples exchange fashion finanzas flyers fonts freedom fullhd games git google google-penalty googlewave hardware hdr hibernate hosting howto html html5 humor ibook images ios ipad iphone ipod itunes jabber java java-struts java5 javascript jboss jobs joomla jquery jsf json kata language lbs linux lion locales loft london macruby market marketing middleware misc mobile money mongodb mongrel movies music mysql n95 nginx nodejs objective-c openid osx osx_leopard osx_tiger p2p palm performance perl pharma photo plugin portlets privacy programming property python rack rails rap rapidshare realtime reason recetas redis reference regex retina rfid richfaces rspec ruby rutas samples screencasts scripting seam security seo shopping snippets social software solr spring sql startups steampunk struts2 subvenciones subversion tdd test tips todo tools toread tutorials underscore upcoming urban usability uveek venues video vim vivienda vps warez watch web web2.0 wifi windows xbox xslt

Copy this bookmark: