FortiumPartners

RSpec Test Framework

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

FortiumPartners 11 2 Updated 7mo ago

Resources

2
GitHub

Install

npx skillscat add fortiumpartners/ai-mesh/rspec-test-framework

Install via the SkillsCat registry.

SKILL.md

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.