open-ecommerce-api / store-engine

An ecommerce backend-API created using Django and DRF (Django Rest Framework).
GNU General Public License v3.0
13 stars 10 forks source link

Test signup functionality #88

Open EttiFeyzi opened 1 year ago

EttiFeyzi commented 1 year ago

The signup functionality is a critical feature of any application that requires user registration. to ensure that the signup functionality works as expected, we need to test the following scenarios:

  1. Test valid signup: Test that users are able to signup with valid information, such as valid email address and strong password.

  2. Test invalid signup: Test that invalid or incomplete information is registered during signup, and that users are prompted to correct their information. this includes testing for invalid email formats, weak passwords, and missing required fields.

  3. Test email verification: Test that users are prompted to verify their email address before they can access protected resources.

  4. Test user creation: Test that user accounts are properly created in the database with correct information.