anitab-org / anitab-org/mentorship-backend

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

オープン
#911 コメント 15 件 リアクション 1 件 担当者 1 名 @decon-harsh が担当を希望しています GitHub で見る
Category: Coding Category: Quality Assurance Type: Testing
主要言語
Python
スター
200
フォーク
449
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。