ruby-testing

Community

Master Ruby/RSpec tests, follow conventions effortlessly.

Authorarowinski
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of writing consistent, high-quality Ruby/RSpec tests that adhere to project conventions. It helps developers avoid common anti-patterns, ensuring maintainable and effective test suites.

Core Features & Use Cases

  • Behavior-Driven Testing Guidance: Guides you to test observable outcomes and public interfaces, not internal implementation details.
  • FactoryBot Best Practices: Enforces proper usage of FactoryBot with traits, optimizing test data creation.
  • Structured Test Workflow: Provides a clear, step-by-step workflow for structuring new and existing RSpec files, promoting readability and consistency.
  • Use Case: When you're adding a new feature to a Ruby on Rails application, use this Skill to generate a well-structured RSpec test file that adheres to your team's best practices, ensuring consistency and maintainability without manual effort.

Quick Start

Help me write RSpec tests for the User model, focusing on the authenticate method.

Dependency Matrix

Required Modules

rubyrspecfactory_botripgrep

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ruby-testing
Download link: https://github.com/arowinski/dotfiles/archive/main.zip#ruby-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository