Rails Clean Test Output

Systematically eliminate unexpected output (warnings, stray puts/p/pp, deprecation notices) from a Rails test suite, one issue at a time, with per-fix verification and commits. Works for both RSpec (`bundle exec rspec`) and Minitest (`bin/rails test`) - detect which the project uses and adapt. Use whenever the user wants to clean up, silence, fix, or investigate noisy test output, mentions warnings or stray logs during test runs, or asks to get their suite running "clean" - e.g. "my test output is noisy", "there's a bunch of warnings when I run specs/tests", "help me clean up the test output".

mickzijdel Updated

File contents

mickzijdel/rails-toolkit/tree/main/skills/rails-clean-test-output commit 17cdc62b63

Frequently asked questions

npx skillmds@latest add mickzijdel/rails-clean-test-output