Project

capydash

0.0
No release in over 3 years
CapyDash automatically generates clean, readable HTML test reports after your RSpec or Minitest suite finishes. Zero configuration required.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 6.0
 Project Readme

CapyDash

Minimal, zero-config HTML report for your RSpec and Minitest tests. Add the gem, run your tests, get a report.

CapyDash Report

Setup

Add it to your Gemfile:

group :test do
  gem "capydash"
end

Run bundle install. That's it — no configuration needed.

Usage

Run your tests as usual:

# RSpec
bundle exec rspec

# Minitest
bundle exec rails test
bundle exec rails test:system

After the suite finishes, open the generated report:

capydash_report/index.html

The report includes pass/fail counts, tests grouped by class, expandable error details with backtraces, and failure screenshots with a clickable lightbox.

Failure Screenshots

When a test fails and Capybara with a browser driver is available, CapyDash automatically captures a screenshot and embeds it in the report. Click the thumbnail to view the full-size image.

  • RSpec — screenshot captured during after(:each), before session teardown
  • Minitest — uses Rails' built-in failure screenshot from tmp/capybara/

No configuration needed. If Capybara isn't available, screenshots are silently skipped.

Requirements

  • RSpec >= 3.0 or Minitest >= 5.0
  • Ruby 2.7+

How It Works

CapyDash auto-detects your test framework and hooks in automatically:

  • RSpec — registers before(:suite), after(:each), and after(:suite) callbacks via RSpec.configure
  • Minitest — registers a reporter via the Minitest plugin system (start, record, report)

Results are collected in memory during the run and written as a static HTML report to capydash_report/ when the suite completes. Each run produces a fresh report — no server, no database, no config files.

License

MIT