Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yeion7/testing-workshop
Testing workshop
https://github.com/yeion7/testing-workshop
Last synced: 20 days ago
JSON representation
Testing workshop
- Host: GitHub
- URL: https://github.com/yeion7/testing-workshop
- Owner: yeion7
- Created: 2018-06-13T13:25:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-14T21:19:22.000Z (over 6 years ago)
- Last Synced: 2024-10-16T10:41:55.062Z (2 months ago)
- Language: JavaScript
- Size: 477 KB
- Stars: 1
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Testing workshop
## Setup
1. Clonar el [repo](https://github.com/yeion7/testing-workshop/tree/master) o usar [codesanbox](https://codesandbox.io/s/github)
2. Instalar dependencias con `yarn install`
3. Crear un archivo `.env` dentro definir la variable de entorno `REACT_APP_API=https://5b2affe83a8ea3001418d7fa.mockapi.io/api/v1/`
4. Correr el proyecto con `yarn start`## Workshop
1. Pasos para crear una cultura de testing
2. Qué es un test?
3. Instalar jest en un [proyecto](https://github.com/Selhar/react-redux-calculator)
3. Qué son los Matchers y como usarlos?
4. Crear tests con [jest](https://jestjs.io/) y [react-testing-library](https://github.com/kentcdodds/react-testing-library)
5. Crear tests con [cypress](https://www.cypress.io/)
6. Crear un pipeline de CIEl workshop resuelto lo puedes encontrar en el branch [whith_tests](https://github.com/yeion7/testing-workshop/tree/with_tests)