{"id":14991229,"url":"https://github.com/rspec/rspec-autotest","last_synced_at":"2025-10-19T13:31:53.487Z","repository":{"id":9407627,"uuid":"11274691","full_name":"rspec/rspec-autotest","owner":"rspec","description":"Autotest integration for RSpec 3","archived":false,"fork":false,"pushed_at":"2021-08-11T19:30:06.000Z","size":70,"stargazers_count":42,"open_issues_count":3,"forks_count":12,"subscribers_count":12,"default_branch":"main","last_synced_at":"2024-09-30T03:41:05.397Z","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/rspec.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","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":"2013-07-09T06:24:53.000Z","updated_at":"2024-06-23T03:57:36.000Z","dependencies_parsed_at":"2022-09-05T02:50:17.990Z","dependency_job_id":null,"html_url":"https://github.com/rspec/rspec-autotest","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rspec%2Frspec-autotest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rspec%2Frspec-autotest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rspec%2Frspec-autotest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rspec%2Frspec-autotest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rspec","download_url":"https://codeload.github.com/rspec/rspec-autotest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219869247,"owners_count":16555572,"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-09-24T14:21:55.029Z","updated_at":"2025-10-19T13:31:53.098Z","avatar_url":"https://github.com/rspec.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rspec-autotest [![Build Status](https://secure.travis-ci.org/rspec/rspec-autotest.svg?branch=main)](http://travis-ci.org/rspec/rspec-autotest) [![Code Climate](https://codeclimate.com/github/rspec/rspec-autotest.svg)](https://codeclimate.com/github/rspec/rspec-autotest) [![Coverage Status](https://coveralls.io/repos/rspec/rspec-autotest/badge.svg?branch=main)](https://coveralls.io/r/rspec/rspec-autotest?branch=main)\n\n`rspec-autotest` provides integration between autotest and RSpec; Autotest is not included\nin this gem and can be installed via the `autotest-standalone` or `zentest` gems.\n\n## Usage\n\nRSpec Autotest ships with a specialized subclass of Autotest. To use it, just add a\n`.rspec` file to your project's root directory, and run the `autotest` command\nas normal:\n\n    $ autotest\n\n## Bundler\n\nThe `autotest` command generates a shell command that runs your specs. If you\nare using Bundler, and you want the shell command to include `bundle exec`,\nrequire the Autotest bundler plugin in a `.autotest` file in the project's root\ndirectory or your home directory:\n\n    # in .autotest\n    require \"autotest/bundler\"\n\n## Rails\n\nTo use RSpec and Rails with autotest, bring in the `autotest-rails` gem:\n\n```ruby\n# Gemfile\ngem 'autotest-rails', :group =\u003e [:development, :test]\n```\n\n`autotest` will now autodetect RSpec and Rails after you run the `rails\ngenerate rspec:install` command.\n\n## Gotchas\n\n### Autotest style autotest/rspec_rspec2 doesn't seem to exist. Aborting.\n\nThis happens if you're using rspec-3.x + rspec-autotest-1.x and you\nstill have rspec-core-2.x installed. You have two options to resolve this issue:\n\n1. Uninstall rspec-core-2.x (or remove it from the current gemset if you use a\ntool that supports gemsets).\n1. Pass a `--style` flag to the `autotest` executable, which should resolve the\nversion of rspec correctly to 3.x:\n\n```shell\nautotest --style rspec\n```\n\n### Invalid Option: --tty\n\nThe `--tty` option was [added in rspec-core-2.2.1](changelog), and is used\ninternally by RSpec. If you see an error citing it as an invalid option, you'll\nprobably see there are two or more versions of rspec-core in the backtrace: one\n\u003c 2.2.1 and one \u003e= 2.2.1.\n\nThis usually happens because you have a newer rspec-core installed, and an\nolder rspec-core specified in a Bundler Gemfile. If this is the case, you can:\n\n1. specify the newer version in the Gemfile (recommended)\n2. prefix the `autotest` command with `bundle exec`\n\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'rspec-autotest'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install rspec-autotest\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frspec%2Frspec-autotest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frspec%2Frspec-autotest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frspec%2Frspec-autotest/lists"}