anitab-org / anitab-org/anitab-forms-backend

Create unit tests for User info API

Aperta
#78 9 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Category: Quality Assurance Hacktoberfest Status: Available Type: Testing
Lingua principale
Python
Stelle
17
Fork
60
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Description

As a developer,
I need have unit tests for each functionality,
so that I can be confident when building a new feature, that there are no regression on the platform.

API: `GET /api/info`

The idea is to come with 3 unit tests to test this API. You may have to mock some information to properly test it.

**Resources:**
* Writing tests for Django projects: [resource 1](https://www.django-rest-framework.org/api-guide/testing/) and [resource 2](https://docs.djangoproject.com/en/3.1/topics/testing/tools/)
* Postman documentation about this specific API: https://documenter.getpostman.com/view/11324046/Szzoaw1q?version=latest#15ddb14a-9b28-4545-9b3d-6d363de4a8f1

## Acceptance Criteria
### Update [Required]
- [ ] Create 3 unit tests for `GET /api/info` API

## Definition of Done
- [ ] All of the required items are completed.
- [x] Approval by 1 mentor.

## Estimation
4 hours

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.