RSpec Test Framework

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

FortiumPartners 797bb7f 3 files · 1.8 KB Updated

File contents

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.

FortiumPartners/ai-mesh/tree/main/skills/rspec-test commit 797bb7f2c6

Frequently asked questions

npx skillmds@latest add fortiumpartners/rspec-test-framework