GithubHelp home page GithubHelp logo

kintull / rspec_html_reporter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vbanthia-zz/rspec_html_reporter

0.0 0.0 0.0 2.85 MB

Rspec custom formatter to produce beautiful reports from rspec

Home Page: https://vbanthia.github.io/rspec_html_reporter/index.html

License: MIT License

Ruby 60.28% HTML 39.03% Gherkin 0.69%

rspec_html_reporter's Introduction

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

rspec_html_reporter's People

Contributors

vbanthia avatar kingsleyh avatar aha-oretama avatar apshenkin avatar kache avatar kowal avatar daipresents avatar tadashi0713 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.