Reducing Rails Testing Time

January 31, 2012 0

In those days where software tests are integrated in continuous integration cycles, it is a necessity that they run in a minimized amount of time. This article explains how through controlled memory usage, increased parallelism, transactional factory invocation, pragmatically judicious test refactoring and a few miscellaneous extras, it was possible to reduce the time needed to run the tests of a ruby on rails application in continuous-integration environments by a factor of ten.

4 Steps to Faster Ruby on Rails Tests

January 18, 2012 0

This video explains how to use the principles of Object Oriented Design to improve your Ruby on Rails code, supercharge your tests and find your coding rhythm.

Behavior-Driven Development for Ruby on Rails

November 7, 2011 1

Behavior-driven development (BDD) is similar to test-driven development (TDD), but the tests for BDD are written in an easier-to-understand language so that developers and clients alike can clearly understand what is being tested. In this article based on chapter 2 of Rails 3 in Action, the authors discuss two tools for BDD: RSpec and Cucumber.

Unit Testing Cocoa with MacRuby

October 3, 2011 0

In this blog post, Steve Madsen shares how to use RSpec on an OS/X machine to write unit tests for Objective-C classes. He provides a detailled step by step tutorial on how to install MacRuby, RSpec and how to set up your Cocoa (Mac or iOS) project to perform unit testing with RSpec.

Cucumber versus Steak

January 31, 2011 0

Iain Hecker discuses the way to describe behavior in Cucumber compared to the simpler option provided by Steak. Cucumber and Steak are two open source ruby behavior driven development (BDD) tools.

1 2 3