Everything about RSpec
Testing framework for the Ruby programming language
RSpec is a computer domain-specific language (DSL) testing tool written in the programming language Ruby to test Ruby code. It is a behavior-driven development (BDD) framework which is extensively used in production applications. The basic idea behind this concept is that of test-driven development (TDD) where the tests are written first and the development is based on writing just enough code that will fulfill those tests followed by refactoring. It contains its own mocking framework that is fully integrated into the framework based upon JMock. The simplicity in the RSpec syntax makes it one of the popular testing tools for Ruby applications. The RSpec tool can be used by installing the rspec gem which consists of three other gems, namely rspec-core, rspec-expectation and rspec-mock. Wikipedia →
🧭 Start here: a 6-step reading path
- Read the overview: RSpecA 5-minute orientation
- Pick up a classic book: RSpec EssentialsThe most-reprinted book on the subject
- Read the landmark paper: Video spectroscopy with the RSpec ExplorerCited 3 times
- Go sideways: Cucumber (software)A closely related topic
- Go sideways: Acceptance test-driven developmentA closely related topic
📖 Definitions
No dictionary entry for this exact phrase.
🗂️ The subject at a glance
🏆 Landmark papers (most cited)
📚 Books worth reading
RSpec EssentialsMani Tadayon · 2016
Instant RSpec Test-Driven Development How-toCharles Feduke · 2013
The RSpec BookDavid Chelimsky, Dave Astels · 2010
Effective Testing with RSpec 3: Build Ruby Apps with ConfidenceMyron Marston, Ian Dees · 2017
The RSpec bookDavid Chelimsky · 2010- 📕Everyday Rails: Testing with RSpec · 2014
- 📕Hands-On Test-Driven DevelopmentGreg Donald · 2023
- 📕Practical Test AutomationPanos Matsinopoulos · 2020
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
🔗 Related topics
- Cucumber (software) Cucumber is a software tool that supports behavior-driven development (BDD). Central to the Cucumber BDD approach is its ordinary language parser called…
- Acceptance test-driven development Acceptance test–driven development (ATDD) is a development methodology based on communication between the business customers, the developers, and the testers…
- Behavior-driven development Behavior-driven development (BDD) is an agile software development method centered around collaboration between business and IT professionals that have…
- Capybara (software) Capybara is a web-based test automation software that simulates scenarios for user stories and automates web application testing for behavior-driven software…
- Mock object In computer programming, a mock object is an object that imitates a production object in limited ways. A programmer might use a mock object as a test double…
- Jasmine (software) Jasmine is an open-source testing framework for JavaScript. It aims to run on any JavaScript-enabled platform, to not intrude on the application nor the…
- Apache Groovy Apache Groovy is a Java-syntax-compatible object-oriented programming language for the Java platform. It is both a static and dynamic language with features…
- Bogus (Ruby) Bogus is a Ruby API library used for minimizing risks involved in isolated unit testing. It was initially released in July 2012 by rubygems.org. Through…