Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexanderlapygin/cra_rtl_cypress_msw
CRA starter with testing by RTL, Cypress and MSW
https://github.com/alexanderlapygin/cra_rtl_cypress_msw
cypress e2e javascript js msw react react-testing-library rtl softspiders ss starter template test testing
Last synced: about 2 months ago
JSON representation
CRA starter with testing by RTL, Cypress and MSW
- Host: GitHub
- URL: https://github.com/alexanderlapygin/cra_rtl_cypress_msw
- Owner: AlexanderLapygin
- License: mit
- Created: 2022-01-09T02:01:37.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-28T04:46:48.000Z (almost 3 years ago)
- Last Synced: 2024-10-19T23:24:44.308Z (3 months ago)
- Topics: cypress, e2e, javascript, js, msw, react, react-testing-library, rtl, softspiders, ss, starter, template, test, testing
- Language: JavaScript
- Homepage:
- Size: 315 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CRA starter with testing by React Testing Library, Cypress and MSW
## Feature tags
- create-react-app
- cypress
- e2e
- javascript
- mock-server-worker
- react
- react-testing-library
- rest
- starter
- template
- testing---
## Direct ancestors
[***- cypress, e2e***: cra_rtl_msw](https://github.com/AlexanderLapygin/cra_rtl_msw)
## Direct descendants
[***+ auth, ci, db, docker-compose, offline, search***: cra_cra_auth_search_offline_rtl_cypress_msw_starter](https://github.com/AlexanderLapygin/cra_auth_search_offline_rtl_cypress_msw_starter)
---
## Requirements
* [Node.js](https://nodejs.org/en/download/package-manager/)
## Installation
Being in the repository root directory, run:
```sh
yarn
```## Running
Being in the repository root directory, run:
```sh
yarn start
```## Running test (in watch mode)
Being in the repository root directory, run:
For unit-testing:
```sh
yarn test:unit
```For e2e-testing:
```sh
yarn test:e2e
```For unit- and e2e-testing:
```sh
yarn test
```## Authors
[Alexander Lapygin](https://github.com/AlexanderLapygin)
## Inspired by
[rest-react - example from MSW](https://github.com/mswjs/examples/tree/master/examples/rest-react)
### License
Licensed under the [MIT license](./LICENSE).
---
[SOFTSPIDERS](https://github.com/softspiders/softspiders)