anitab-org / anitab-org/mentorship-backend

Create a user journey test from sending a mentorship request and the user deletes the request.

Abierto
#911 15 comentarios 1 reacción 1 asignado Reclamado por @decon-harsh Ver en GitHub
Category: Coding Category: Quality Assurance Type: Testing
Lenguaje dominante
Python
Estrellas
200
Forks
449
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## Description

I need to test a specific user path,
so that I can make sure a specific path can be executed usefully in a deterministic way.

This test should be located in a specific folder for separation concerns, it could be called tests/user_journey.
Next, I'll define a very broad scenario, but simple enough for you to start.

https://github.com/anitab-org/mentorship-backend/blob/develop/tests/user_journey/test_happy_path_1.py can be used as a reference but make sure you include all possible test scenarios and not just the happy path.

## Scenario: User A (mentor) and User B (mentee)

1. User B (mentee) sends a request to User A (mentor)
2. User B (mentee) deletes request

## Definition of Done
- [ ] Create tests for for positive and negative scenarios.

## Estimation
3 hours

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.