An open API service indexing awesome lists of open source software.

https://github.com/rwieruch/visual-regression-testing-react-storybook

Visual Regression Testing in React with Storybook
https://github.com/rwieruch/visual-regression-testing-react-storybook

react react-storybook react-storybook-addons reactjs visual-regression-testing visual-regression-tests

Last synced: 6 months ago
JSON representation

Visual Regression Testing in React with Storybook

Awesome Lists containing this project

README

          

# visual-regression-testing-react-storybook

[![Build Status](https://travis-ci.org/rwieruch/visual-regression-testing-react-storybook.svg?branch=master)](https://travis-ci.org/rwieruch/visual-regression-testing-react-storybook) [![Coverage Status](https://coveralls.io/repos/github/rwieruch/visual-regression-testing-react-storybook/badge.svg?branch=master)](https://coveralls.io/github/rwieruch/visual-regression-testing-react-storybook?branch=master) [![Slack](https://slack-the-road-to-learn-react.wieruch.com/badge.svg)](https://slack-the-road-to-learn-react.wieruch.com/) [![Greenkeeper badge](https://badges.greenkeeper.io/rwieruch/visual-regression-testing-react-storybook.svg)](https://greenkeeper.io/)

A React application which implements visual regression tests by using Jest and React Storybook. Read more about it: [Visual Regression Testing and React Storybook](https://www.robinwieruch.de/visual-regression-testing-react-storybook/)

## Features

* React 16
* Webpack 4
* Babel
* Staging ES Next Features
* Hot Module Replacement
* Testing
* Mocha
* Chai
* Enzyme
* Sinon
* Jest
* Unit/Integratio Test (Chai, Enzyme) Watcher
* Snapshot Test (Jest) Watcher
* Travis CI
* Coveralls.io
* Storybook 4
* Knobs
* Actions
* Storyshots
* Imageshots
* Viewport

## Installation

* `git clone git@github.com:rwieruch/visual-regression-testing-react-storybook.git`
* cd visual-regression-testing-react-storybook
* npm install
* npm start
* visit `http://localhost:8080/`

## Running Storybook

* npm run storybook

## Running Visual Regression Tests

* npm run storybook
* npm run test:snapshot