Not Actively maintained. Please fork it to make any new change
RSpec HTML Reporter
Publish pretty rspec reports
This is a ruby RSpec custom formatter which generates pretty html reports showing the results of rspec tests. It has features to embed images and videos into report providing better debugging information in case test is failed. Check this Sample Report.
Add this in your Gemfile:
Either add below in your
or run RSpec with
--format RspecHtmlReporter like below:
REPORT_PATH=reports/$(date +%s) bundle exec rspec --format RspecHtmlReporter spec
Above will create reports in
Images and videos can be embed by adding their path into example's metadata. Check this Sample Test.