RSpec
Encyclopedia
RSpec is a behavior driven development
(BDD) framework for the Ruby programming language
, inspired by JBehave. It contains its own mocking framework that is fully integrated into the framework based upon JMock. The framework can be considered a domain-specific language (DSL) and resembles similar to a natural language specification.
Behavior driven development
Behavior-driven development is an agile software development technique that encourages collaboration between developers, QA and non-technical or business participants in a software project...
(BDD) framework for the Ruby programming language
Ruby (programming language)
Ruby is a dynamic, reflective, general-purpose object-oriented programming language that combines syntax inspired by Perl with Smalltalk-like features. Ruby originated in Japan during the mid-1990s and was first developed and designed by Yukihiro "Matz" Matsumoto...
, inspired by JBehave. It contains its own mocking framework that is fully integrated into the framework based upon JMock. The framework can be considered a domain-specific language (DSL) and resembles similar to a natural language specification.
External links
- RSpec
- RSpec-2
- Behavior-driven testing with RSpec - A comprehensive approach to test-driven development. Article by Bruce Tate.
- Beyond Test Driven Development - Behaviour Driven Development. A Google TechTalk by Dave Astels on BDD using RSpec.
- RSpec Best Practices Article by Jared Carroll, retrieved April 24 2011.
- Behavior-driven testing with RSpec Article by Bruce Tate, retrieved July 21 2011.