Back to Skills

RSpec Test Framework

FortiumPartners
Updated Yesterday
9 views
5
1
5
View on GitHub
Metatesting

About

This Claude Skill executes and generates RSpec tests for Ruby projects. It supports key testing features like let bindings, before hooks, and mocking. Use it to quickly create and run tests, receiving results in a structured JSON format.

Documentation

RSpec Test Framework

Purpose

Provide RSpec test execution and generation for Ruby projects.

Usage

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.

Quick Install

/plugin add https://github.com/FortiumPartners/ai-mesh/tree/main/rspec-test

Copy and paste this command in Claude Code to install this skill

GitHub 仓库

FortiumPartners/ai-mesh
Path: skills/rspec-test

Related Skills