RSpec Testing Patterns

Complete guide to testing Ruby on Rails applications with RSpec. Use when: (1) Writing unit tests, integration tests, system tests, (2) Setting up test factories, (3) Creating shared examples, (4) Mocking external services, (5) Testing ViewComponents and background jobs. Trigger keywords: tests, specs, RSpec, TDD, testing, test coverage, FactoryBot, fixtures, mocks, stubs, shoulda-matchers

Kaakati 5d1f620 9 files · 37.4 KB Updated

File contents

kaakati/rails-enterprise-dev/tree/main/plugins/reactree-rails-dev/skills/rspec-testing-patterns commit 5d1f620e06

Frequently asked questions

npx skillmds@latest add kaakati/rspec-testing-patterns