{"id":15203158,"url":"https://github.com/english/rspec-repetitive","last_synced_at":"2026-02-06T07:33:03.710Z","repository":{"id":56892960,"uuid":"174441385","full_name":"english/rspec-repetitive","owner":"english","description":"Repeat RSpec examples with custom setup.","archived":false,"fork":false,"pushed_at":"2019-03-08T00:53:06.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T06:06:27.757Z","etag":null,"topics":["rspec","ruby","testing"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/english.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-08T00:28:52.000Z","updated_at":"2019-03-15T22:30:28.000Z","dependencies_parsed_at":"2022-08-21T01:50:13.151Z","dependency_job_id":null,"html_url":"https://github.com/english/rspec-repetitive","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/english%2Frspec-repetitive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/english%2Frspec-repetitive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/english%2Frspec-repetitive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/english%2Frspec-repetitive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/english","download_url":"https://codeload.github.com/english/rspec-repetitive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242048577,"owners_count":20063404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rspec","ruby","testing"],"created_at":"2024-09-28T04:41:34.274Z","updated_at":"2026-02-06T07:33:03.681Z","avatar_url":"https://github.com/english.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RSpec::Repetitive\n\nRepeat RSpec examples with custom setup.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'rspec-repetitive'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install rspec-repetitive\n\n## Usage\n\nThe following RSpec example would run twice: first without then with a feature switch enabled.\n\n```rb\nrequire 'rspec'\nrequire 'rspec-repetitive'\n\nRSpec.configure do |config|\n  RSpec::Repetitive.configure(config)\nend\n\nRSpec.describe \"something that should work with and without a feature switch enabled\" do\n  repeat_each_example \"with my_feature enabled\" do\n    FeatureSwitch.enable(:my_feature)\n  end\n\n  it \"works\" do\n    # ...\n  end\nend\n```\n\nRunning the above example would produce the following:\n\n```\n$ rspec my_spec.rb\n\nsomething that should work with and without a feature switch enabled\n  works\n  with my_feature enabled works\n\nFinished in 0.00153 seconds (files took 0.12087 seconds to load)\n2 examples, 0 failures\n```\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenglish%2Frspec-repetitive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenglish%2Frspec-repetitive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenglish%2Frspec-repetitive/lists"}