---
title: "Discussion on \"Setup Rails testing stack with RSpec, Database Cleaner, FactoryBot, Shoulda Matchers and VCR\" | Hashnode"
description: "Discussion on \"Setup Rails testing stack with RSpec, Database Cleaner, FactoryBot, Shoulda Matchers and VCR\". Hello there, in this post, i'm going to setup RSpec and other tools inside a Ruby on Rails application and create a super consistent stack of tests.\nContent of this post\n\nCreating a new Project\nAdding new dependencies\nSetup RSpec\nSetup DatabaseCleane..."
url: "https://hashnode.com/posts/setup-rails-testing-stack-with-rspec-database-cleaner-factorybot-shoulda-matchers-and-vcr/61254a4c663d427e19ffaff7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Setup Rails testing stack with RSpec, Database Cleaner, FactoryBot, Shoulda Matchers and VCR](https://anchietajunior.hashnode.dev/setup-rails-testing-stack-with-rspec-database-cleaner-factorybot-shoulda-matchers-and-vcr?utm_source=hashnode&utm_medium=feed)

Hello there, in this post, i'm going to setup RSpec and other tools inside a Ruby on Rails application and create a super consistent stack of tests. Content of this post Creating a new Project Adding new dependencies Setup RSpec Setup DatabaseCleane...

Aug 24, 2021 · 3 min read · anchietajunior.hashnode.dev  
Read the article

-   [#ruby](https://hashnode.com/tag/ruby)
-   [#ruby-on-rails](https://hashnode.com/tag/ruby-on-rails)
-   [#tdd](https://hashnode.com/tag/tdd)

## Written by

[Anchieta Júnior](https://hashnode.com/@anchietajunior)

@anchietajunior · Aracaju, Brazil

  
[View profile](https://hashnode.com/@anchietajunior)

Senior Software Engineer | Ruby and Elixir

I am a developer who likes to understand and build things.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
