https://github.com/coryhouse/testing-react
Testing Demo App
https://github.com/coryhouse/testing-react
Last synced: 6 months ago
JSON representation
Testing Demo App
- Host: GitHub
- URL: https://github.com/coryhouse/testing-react
- Owner: coryhouse
- Created: 2018-07-03T02:46:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-10T16:18:58.000Z (over 3 years ago)
- Last Synced: 2024-04-09T13:07:09.165Z (about 1 year ago)
- Language: JavaScript
- Size: 1000 KB
- Stars: 22
- Watchers: 4
- Forks: 15
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Testing Demo App
This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
# Quick Start
```
npm install
npm start
```The above commands will install dependencies and start the app. To run tests, run `npm test` on a separate command line. There are no tests written in the master branch.
## Testing libraries
This instance of create-react-app has been enhanced with the following testing libraries:
| Library | Description |
| ----------------------- | ---------------------------------------------------------------------------------- |
| Jest | Automated testing |
| Enzyme | Unit test React components in isolation via `shallow` or with children via `mount` |
| enzyme-adapter-react-16 | Configures enzyme to work with React 16 |
| react-test-renderer | Render React components to JSON for snapshot testing |
| redux-mock-store | Mock store for testing your redux async action creators and middleware |
| Cypress | In browser integration testing via Mocha and Chai |