RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Skip the RSpec examples you don't need: rspec-tracer 2.0 in pre-release

Skips examples whose tracked inputs (Ruby files, declared globs, env vars, Rails view templates) haven’t changed since the previous run. The 1.x line has been on RubyGems since 2021; 2.0 is a ground-up rewrite around an explicit input-taxonomy model.

What’s new in 2.0:

  • Pluggable storage (JSON or SQLite) and remote cache (S3, Local-FS, or Redis)
  • Per-example tracks: { files: ..., env: ... } DSL
  • Rails preset (track_rails_defaults) for views, locales, fixtures, schema
  • bin/rspec-tracer CLI: doctor, cache:info, cache:clear, report:open, explain
  • HTML + JSON reporters; SimpleCov branch-coverage now works alongside

Looking for feedback before 2.0.0 final in ~2 weeks.

Repo: https://github.com/avmnu-sng/rspec-tracer

Release: https://github.com/avmnu-sng/rspec-tracer/releases/tag/v2.0.0.pre.1

Migration: https://github.com/avmnu-sng/rspec-tracer/blob/main/UPGRADING.md

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in