A minimal static HTML report generator for RSpec system tests. CapyDash automatically generates a clean, readable test report after your RSpec suite finishes.
- ✅ Automatic report generation - No configuration needed
- ✅ RSpec system test support - Works out of the box with
rspec-rails - ✅ Clean HTML reports - Simple, readable test results
- ✅ Error details - Full exception messages and backtraces
- ✅ Zero configuration - Just add the gem and run your tests
Add to your Gemfile:
gem "capydash"
gem "rspec-rails"Then run:
bundle installThat's it! CapyDash automatically hooks into RSpec when it detects it. Just run your tests:
bundle exec rspecAfter your test suite completes, CapyDash will automatically generate a report at:
capydash_report/index.html
Open it in your browser to view the results.
Here's an example RSpec system test:
require 'rails_helper'
RSpec.describe "Homepage", type: :system do
it "displays the welcome message" do
visit "/"
expect(page).to have_content("Welcome")
end
it "allows user to submit a form" do
visit "/"
fill_in "Your name", with: "Alice"
click_button "Greet"
expect(page).to have_content("Hello, Alice!")
end
endThe generated report includes:
- Summary statistics - Total, passed, and failed test counts
- Test grouping - Tests organized by spec file
- Expandable test details - Click to view error messages
- Error information - Full exception messages and backtraces
- Clean design - Simple, readable HTML layout
- Ruby 2.7+
- RSpec 3.0+
- Rails 6.0+ (for system tests)
- CapyDash automatically detects when RSpec is present
- Hooks into RSpec's
before(:suite),after(:each), andafter(:suite)callbacks - Collects test results in memory during the test run
- Generates a static HTML report after all tests complete
- Saves the report to
capydash_report/index.html
- Make sure you're running RSpec tests (not Minitest)
- Ensure
rspec-railsis in your Gemfile - Check that tests actually ran (no early exits)
- Verify you're using RSpec system tests (
type: :system) - Make sure the test suite completed (not interrupted)
- Delete the
capydash_reportdirectory and run tests again - The report is regenerated on each test run
# In a Rails app with RSpec
bundle exec rspecgem build capydash.gemspecgem push capydash-0.2.0.gemMIT
- Fork the repository
- Create a feature branch
- Make your changes
- Test with RSpec
- Submit a pull request
Note: CapyDash is a minimal MVP focused solely on RSpec system test reporting. It does not support Minitest, configuration DSLs, local servers, or screenshots. For a simple, zero-configuration test reporting solution, CapyDash is perfect.