Testing Ruby on Rails Applications Guide

May 24, 2012 0

This guide presents the mechanisms available to test your Ruby on Rails application. After an introduction to software testing in the Ruby on Rails context, the guide explains how to perform unit testing on your models and functional testing for the controllers. The guide also explains how Rails provides a generator to create an integration test skeleton. At the end, the guide proposes other popular testing approaches and plugins that could be used to test Ruby on Rails applications.

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.

The Next Generation of Rails Functional Testing

August 15, 2011 0

Story Driven Development (SDD) helps close the gap between the language of developers and product owners so they can clearly define when software is “done”. Readable and executable product requirements are now possible. We’ll explore tips for integrating SDD into your existing workflow and cover technical details for implementing and maintaining stories using cutting-edge tools and libraries.

1 2 3 4