Is using the gem Guard still state of the art in TDD with Ruby?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/ruby

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
  • retest

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

    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.

  • entr

    Run arbitrary commands when files change

    I use entr instead. It works for more than ruby

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • binks

    An (opinionated) test runner for rspec & cucumber

  • vim-test

    Run your tests at the speed of thought

    Nothing wrong with guard, but I would lean towards getting familiar with editor integrations. Personally I use vim-test.

  • rerun

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

    I use rerun to rerun all tests on file change (retest gem posted elsewhere can be smarter about which tests to run). Rerun also lets me relaunch a development app on changes.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts