RSpec Test Framework

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

FortiumPartners Updated 11 repo stars

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 commit 797bb7f2c6

Frequently asked questions

npx get-skill add fortiumpartners/rspec-test-framework