425
162
+ 1
0

What is RSpec?

Behaviour Driven Development for Ruby. Making TDD Productive and Fun.
RSpec is a tool in the Testing Frameworks category of a tech stack.
RSpec is an open source tool with 2.8K GitHub stars and 243 GitHub forks. Here’s a link to RSpec's open source repository on GitHub

Who uses RSpec?

Companies
118 companies reportedly use RSpec in their tech stacks, including StackShare, MAK IT, and Eazel Web Service.

Developers
221 developers on StackShare have stated that they use RSpec.
Decisions about RSpec

Here are some stack decisions, common use cases and reviews by companies and developers who chose RSpec in their tech stack.

I'm working as one of the engineering leads in RunaHR. As our platform is a Saas, we thought It'd be good to have an API (We chose Ruby and Rails for this) and a SPA (built with React and Redux ) connected. We started the SPA with Create React App since It's pretty easy to start.

We use Jest as the testing framework and react-testing-library to test React components. In Rails we make tests using RSpec.

Our main database is PostgreSQL, but we also use MongoDB to store some type of data. We started to use Redis  for cache and other time sensitive operations.

We have a couple of extra projects: One is an Employee app built with React Native and the other is an internal back office dashboard built with Next.js for the client and Python in the backend side.

Since we have different frontend apps we have found useful to have Bit to document visual components and utils in JavaScript.

See more

RSpec Alternatives & Comparisons

What are some alternatives to RSpec?
Cucumber
Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.
Capybara
Capybara helps you test web applications by simulating how a real user would interact with your app. It is agnostic about the driver running your tests and comes with Rack::Test and Selenium support built in. WebKit is supported through an external gem.
InSpec
It is an open-source testing framework for infrastructure with a human- and machine-readable language for specifying compliance, security and policy requirements.
pytest
A framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. It is a mature full-featured Python testing tool.
Selenium
Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
See all alternatives

RSpec's Followers
162 developers follow RSpec to keep up with related blogs and decisions.