anitab-org / anitab-org/mentorship-backend

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

Ouverte
#911 15 commentaires 1 réaction 1 personne assignée Réclamée par @decon-harsh Voir sur GitHub
Category: Coding Category: Quality Assurance Type: Testing
Langage dominant
Python
Étoiles
200
Forks
449
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

## 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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.