No release in over 3 years
Low commit activity in last 3 years
There's a lot of open issues
RSpec HTML Formatter
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0

Runtime

 Project Readme

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.

Setup

Add this in your Gemfile:

gem 'rspec_html_reporter'

Running

Either add below in your .rspec file

--format RspecHtmlReporter

or run RSpec with --format RspecHtmlReporter like below:

REPORT_PATH=reports/$(date +%s) bundle exec rspec --format RspecHtmlReporter spec

Above will create reports in reports directory.

Usage

Images and videos can be embed by adding their path into example's metadata. Check this Sample Test.

Credits

This library is forked from kingsleyh/rspec_reports_formatter. Original Credits goes to kingsleyh