Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raelnogpires/unit-tests-jest
Testes unitários utilizando a biblioteca Jest.
https://github.com/raelnogpires/unit-tests-jest
javascript jest unit-testing
Last synced: 10 days ago
JSON representation
Testes unitários utilizando a biblioteca Jest.
- Host: GitHub
- URL: https://github.com/raelnogpires/unit-tests-jest
- Owner: raelnogpires
- Created: 2022-05-26T22:20:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-26T22:47:48.000Z (over 2 years ago)
- Last Synced: 2024-12-06T09:41:46.864Z (2 months ago)
- Topics: javascript, jest, unit-testing
- Language: JavaScript
- Homepage:
- Size: 155 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Projeto Unit Tests
Projeto desenvolvido no Bloco 7 do módulo de Fundamentos do Desenvolvimento Web @ Trybe.
As funções testadas foram implementadas pelo time da Trybe, sendo `restaurant.js` a única exceção.
`restaurant.js` e `restaurant.spec.js` foram desenvolvidas utilizando a metodologia TDD (Test-Driven Development)## Habilidades desenvolvidas
* Escrever testes unitários, utilizando a biblioteca Jest, que verifiquem corretamente o uso das funções.
* Conseguir desenvolver funções tendo seus testes como 'guia'.
* Conseguir desenvolver testes e funções utilizando a metodologia TDD.## Para rodar o projeto
Clone o projeto.
```bash
git clone [email protected]:raelnogpires/unit-tests-jest.git
```Instale suas dependências.
```bash
npm i
```Por fim, rode os testes.
```bash
npm test
```