{"id":80574,"library":"rspec-steps","title":"RSpec Steps","description":"Allows building sequential, stateful integration tests within RSpec where before/after hooks run only at the start and end of the sequence.","status":"active","version":"2.1.1","language":"ruby","source_language":null,"source_url":"https://github.com/LRDesign/rspec-steps","tags":["rspec","testing","integration","steps"],"install":[{"cmd":"gem install rspec-steps","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'rspec-steps', '~> 2.1.1'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"RSpec::Steps","correct":"require 'rspec-steps'"}],"quickstart":{"code":"require 'rspec-steps'\nRSpec.describe 'User story' do\n  steps 'First step' do\n    it { expect(1).to eq(1) }\n  end\n  steps 'Second step' do\n    it { expect(2).to eq(2) }\n  end\nend","lang":"ruby","description":"Define sequential test steps that share state."},"warnings":[{"fix":"Ensure each step does not rely on mutable state from previous steps unless intended.","message":"State is shared between steps, which can lead to test pollution if not carefully managed.","severity":"gotcha","affected_versions":">= 2.0.0"}],"env_vars":null,"search_vec":"'allow':3 'before/after':12 'build':4 'end':20 'hook':13 'integr':7,26 'rspec':1,10,24 'run':14 'sequenc':23 'sequenti':5 'start':18 'state':6 'step':2,27 'test':8,25 'within':9","created_at":"2026-06-18T05:27:53.384308+00:00","updated_at":"2026-06-18T05:27:53.384308+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/LRDesign/rspec-steps","github":"https://github.com/LRDesign/rspec-steps","docs":"http://www.rubydoc.info/gems/rspec-steps/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}