anitab-org / anitab-org/mentorship-backend
Create a user journey test from sending a mentorship request and the user deletes the request.
- 主要言語
- 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 はまだ評価されていません。