Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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)