Tests
Automated Tests
Unitary: tests the individual components (each unit) in isolation.
Integration: tests the combined entity of different units, modules or components.
Coverage: test coverage of 99%.
.
├── tests
│ ├── helpers/
│ ├── integration/
│ | ├── adapters/
| | | ├── gateway/
| | | └── helpers/
│ | ├── core/
| | | └── usecases/
│ | └── framework/
| | ├── dependencies/
| | ├── exceptions/
| | ├── fastapi/
| | └── middleware/
│ ├── mocks/
│ └── unitary/
│ ├── adapters/
| | ├── gateway/
| | ├── helpers/
| | └── presenters/
│ ├── core/
| | ├── data/
| | ├── domain/
| | └── usecases/
│ └── framework/
| ├── dependencies/
| └── exceptions/
You can configure and use the VsCode to test all the scripts with Pytest and Coverage:
launch.json | |
---|---|
Scopus APIs Request Tests
Install the REST Client VsCode Extension to configure and send requests to Scopus APIs for testing.
1. Access the client.http
file.
2. Insert your API Key
in @apikey =
.
3. Click on Send Request
.