Skip to content

Commit ad1974e

Browse files
committed
adjust README
1 parent 14d66db commit ad1974e

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

README.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
# react-components-test-setup
1+
# visual-regression-testing-react-storybook
22

3-
[![Build Status](https://travis-ci.org/rwieruch/react-components-test-setup.svg?branch=master)](https://travis-ci.org/rwieruch/react-components-test-setup) [![Coverage Status](https://coveralls.io/repos/github/rwieruch/react-components-test-setup/badge.svg?branch=master)](https://coveralls.io/github/rwieruch/react-components-test-setup?branch=master)
3+
[![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)
44

5-
A solid test setup for React components with Mocha, Chai, Sinon, Enzyme and Jest in a [Webpack/Babel/React](https://github.com/rwieruch/minimal-react-webpack-babel-setup) application.
6-
7-
Read more about it: [React Testing Tutorial: Test Frameworks & Component Tests](https://www.robinwieruch.de/react-testing-tutorial/)
5+
A React application which implements visual regression tests by using Jest and React Storybook. Read more about it: [Visual Regression Testing and React Storybook: Test Frameworks & Component Tests](https://www.robinwieruch.de/visual-regression-testing-react-storybook/)
86

97
## Features
108

119
* React 16
12-
* Webpack 3
10+
* Webpack 4
1311
* Babel
1412
* Staging ES Next Features
1513
* Hot Module Replacement
@@ -23,11 +21,25 @@ Read more about it: [React Testing Tutorial: Test Frameworks & Component Tests](
2321
* Snapshot Test (Jest) Watcher
2422
* Travis CI
2523
* Coveralls.io
24+
* Storybook
25+
* Knobs
26+
* Actions
27+
* Storyshots
28+
* Viewport
2629

2730
## Installation
2831

29-
* `git clone git@github.com:rwieruch/react-components-test-setup.git`
30-
* cd react-components-test-setup
32+
* `git clone git@github.com:rwieruch/visual-regression-testing-react-storybook.git`
33+
* cd visual-regression-testing-react-storybook
3134
* npm install
3235
* npm start
3336
* visit `http://localhost:8080/`
37+
38+
## Running Storybook
39+
40+
* npm run storybook
41+
42+
## Running Visual Regression Tests
43+
44+
* npm run storybook
45+
* npm run test:snapshot

0 commit comments

Comments
 (0)