RSpec is an open source Behavior-Driven Development (BDD) ruby package that lets you build a specification alongside your software. BDD is an approach to software development that combines Test-Driven Development (TDD), Domain Driven Design and Acceptance Test-Driven Planning. RSpec helps you do the TDD part of that equation, focusing on the documentation and design aspects of TDD.
How do you do Test-Driven Development (TDD) with command-line tools? How does one make a failing test for a missing command-line option? This video answers these questions with some real-world examples.
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.
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 (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.
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.
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.