{"id":20061651,"url":"https://github.com/tylerrick/cucumber_to_rspec","last_synced_at":"2025-10-26T19:38:25.753Z","repository":{"id":66442458,"uuid":"128468478","full_name":"TylerRick/cucumber_to_rspec","owner":"TylerRick","description":"Convert your cucumber tests into plain Ruby/RSpec tests that use Capybara directly","archived":false,"fork":false,"pushed_at":"2018-04-12T15:55:24.000Z","size":9,"stargazers_count":3,"open_issues_count":8,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T22:28:13.390Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/TylerRick.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"License","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-06T20:42:40.000Z","updated_at":"2020-12-14T15:39:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba464b2e-f4c1-4a60-aa67-aefdd1e35ae4","html_url":"https://github.com/TylerRick/cucumber_to_rspec","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/TylerRick%2Fcucumber_to_rspec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fcucumber_to_rspec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fcucumber_to_rspec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fcucumber_to_rspec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TylerRick","download_url":"https://codeload.github.com/TylerRick/cucumber_to_rspec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241488198,"owners_count":19970829,"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":[],"created_at":"2024-11-13T13:21:09.605Z","updated_at":"2025-10-26T19:38:25.680Z","avatar_url":"https://github.com/TylerRick.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cucumber to Rspec converter\n\nInspired by [transpec](https://github.com/yujinakayama/transpec), this tool lets you convert your cucumber tests into plain Ruby/RSpec tests that use Capybara directly.\n\nPerhaps you've had enough of Cucumber and just want to write all your tests the same way (including\nend-to-end/feature/browser/acceptance tests) and be able to use the same testing framework to run\n*all* of your tests.\n\n[turnip](https://github.com/jnicklas/turnip) also gives you that, but in a different way. If you\njust want to write your tests using plain Ruby and don't want to bother writing tests in Gherkin\nwith step definitios to translate from Gherkin to Ruby, then you should convert any existing\nCucumber tests to RSpec and just use RSpec!\n\n## Status\n\nThis tool is beta software, and is not feature complete.\n\nFor now, this tool it just includes a formatter that emits RSpec code as its output.\n\nEventually, it would be nice to actually automatically save that output in the right file\n(`features/thing.feature` -\u003e `spec/feature/thing_spec.rb`).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'cucumber_to_rspec'\n```\n\n## Usage\n\n```\ncucumber features/thing.feature:33:53 --format CucumberToRspec::Formatter --out spec/features/thing_spec.rb\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/TylerRick/cucumber_to_rspec.\n\n## See also:\n\n- [transpec](https://github.com/yujinakayama/transpec) — Convert your RSpec tests from older RSpec syntax to newer or different RSpec syntax variants\n- [turnip](https://github.com/jnicklas/turnip) —  It allows you to write tests in Gherkin and run them through your RSpec environment. Basically you can write cucumber features in RSpec.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylerrick%2Fcucumber_to_rspec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftylerrick%2Fcucumber_to_rspec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylerrick%2Fcucumber_to_rspec/lists"}