retest VS Rubocop

Compare retest vs Rubocop and see what are their differences.

retest

A simple CLI to watch file changes and run their matching ruby specs. Works on any ruby projects with no setup. (by AlexB52)

Rubocop

A Ruby static code analyzer and formatter, based on the community Ruby style guide. [Moved to: https://github.com/rubocop/rubocop] (by rubocop-hq)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
retest Rubocop
6 7
121 11,323
- -
7.4 9.8
about 2 months ago about 3 years ago
Ruby Ruby
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

retest

Posts with mentions or reviews of retest. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-02.
  • Minitest, we've been doing it wrong?
    4 projects | /r/ruby | 2 Oct 2022
    Whatever you choose Retest (a gem I maintain) will acknowledge both naming conventions out of the box to increase the number of compatible Ruby projects. This is done in release 1.10.0. For example, you can now use Retest with Puma.
  • For those using VSCode, is there a faster way to run "rspec" on the file shown in my active tab (a _spec.rb file)?
    1 project | /r/ruby | 26 Jul 2022
    I created a gem: Retest which works on the terminal. A bit like Guard without any setup. The gem is smart enough to find the correct file to test after you save any.rb file.
  • Is using the gem Guard still state of the art in TDD with Ruby?
    5 projects | /r/ruby | 26 Sep 2021
    I use retest. It works on every standard Ruby projects with no setup (understand no .Guardfile or Gemfile update). If you follow rspec, rails, rake or ruby standard file structure you get running in less than a minute. As a contractor I can checkout any repo and start TDD without caring about the repo setup. I use it even when Guard is already installed because the experience is consistent across all projects. It also has a —diff option that runs only spec files relevant from the diffs with another branch to run a final check before creating a pull request and triggering the whole test suite on CI.
  • Any love for MiniTest?
    1 project | /r/rails | 30 May 2021
    But whatever the project I’m working on is, I always try using retest https://github.com/AlexB52/retest for awesome refactoring and TDD because it works with both Minitest and RSpec out of the box. Sorry for the shameless promotion.
  • Can I run guard without adding it to a project?
    1 project | /r/ruby | 12 Feb 2021
    Hi, I have created a gem called retest that helps you run specs after a file change without adding any configuration files to a repo. I created it for the specific reason you’re mentioning as I work in a consultancy. It is supposed to be dev centric and works with any ruby projects. I use it while working or refactoring. It might suits you, have a look
  • Refactoring in Ruby
    2 projects | /r/ruby | 3 Feb 2021
    A great book by Sandi Metz is 99 bottles of OOP in Ruby where she explains heaps about refactoring. One of the best book I have read. I know you asked for article or videos but if you have time, it takes a day or two to read. I made a gem to help people refactor the same way she describes in the book. It will speed up your feedback loop when refactoring: retest

Rubocop

Posts with mentions or reviews of Rubocop. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-28.

What are some alternatives?

When comparing retest and Rubocop you can also consider the following projects:

entr - Run arbitrary commands when files change

Rubycritic - A Ruby code quality reporter

minitest - minitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking.

Brakeman - A static analysis security vulnerability scanner for Ruby on Rails applications

Puma - A Ruby/Rack web server built for parallelism

Reek - Code smell detector for Ruby

rerun - Restarts an app when the filesystem changes. Uses growl and FSEventStream if on OS X.

Pronto - Quick automated code review of your changes

vim-test - Run your tests at the speed of thought

rails_best_practices - a code metric tool for rails projects

rubygems - Library packaging and distribution for Ruby.

SimpleCov - Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites