项目作者: bahmutov

项目描述 :
Testing Redux Counter example using cypress-react-unit-test
高级语言: JavaScript
项目地址: git://github.com/bahmutov/test-redux-examples.git
创建时间: 2020-04-03T03:02:16Z
项目社区:https://github.com/bahmutov/test-redux-examples

开源协议:

下载


Redux counter examples

These examples taken from redux site and tested using cypress-react-unit-test

cypress version cypress-react-unit-test version redux version react-redux version

See cypress-react-unit-test and cypress.json

Shopping cart App component test
Shopping cart App test

Reddit async reader App component test
Reddit async App test

Exercises

  • clone this repo
  • install dependencies with npm install
  • open Cypress: npm run open or npx cypress open

If you want to try writing Cypress unit tests against the React code, good candidates for rewriting are: