Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 676 Bytes

README.md

File metadata and controls

23 lines (12 loc) · 676 Bytes

Jikan Gateways API

Mock requests calls using unittest.mock and Jikan REST-ful API

Environment

Install python3-tk

Testes

Rodando os testes

python -m unittest

Gerando relatório de cobertura

coverage run --source='.' -m unittest

Esse comando gera o diretório htmlcov para vizualizar o relatório abrir o arquivo htmlcov/index.html

Seguindo o tutorial Testes Unitários e Python — Parte II: Mocks, APIs & Star Wars