# RSpec Test Framework

> Execute and generate RSpec tests for Ruby projects with let bindings, before hooks, and mocking support

- Skill: `fortiumpartners/rspec-test-framework` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add fortiumpartners/rspec-test-framework`
- Raw SKILL.md: https://api.skillmd.com/api/skills/fortiumpartners/rspec-test-framework/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: FortiumPartners (https://skillmd.com/u/fortiumpartners)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/fortiumpartners/rspec-test-framework

---


# RSpec Test Framework

## Purpose

Provide RSpec test execution and generation for Ruby projects.

## Usage

```bash
ruby generate-test.rb --source=lib/calculator.rb --output=spec/calculator_spec.rb --description="Division by zero"
ruby run-test.rb --file=spec/calculator_spec.rb
```

## Output Format

JSON with success, passed, failed, total, and failures array.

