Developing A Social Media Platform
Developing A Social Media Platform
Requirements:
1. User Registration:
o Users shall be able to register an account using their email address, phone number, or
social media accounts.
o Users shall be able to set a strong password.
o Users shall receive a confirmation email or SMS upon successful registration.
2. Profile Creation:
o Users shall be able to create a profile, including their name, bio, profile picture, and
cover photo.
o Users shall be able to customize their profile settings, such as privacy settings and
notifications.
3. Content Creation:
o Users shall be able to create and share various types of content, including text posts,
images, and videos.
o Users shall be able to add hashtags and mentions to their posts.
4. Social Interaction:
o Users shall be able to follow other users and receive notifications about their activity.
o Users shall be able to like, comment, and share other users' content.
o Users shall be able to send direct messages to other users.
5. Notifications:
o The system shall send notifications for various events, such as likes, comments,
follows, and direct messages.
o Users shall be able to customize their notification settings.
User Registration
Requirement 1:
User shall be able to register an account using their email address, phone number, or social
media accounts.
• TC_REG_01: Successful Registration with Email and Password
o Steps:
1. Navigate to the registration page.
2. Enter a valid email address.
3. Enter a strong password.
4. Click the "Register" button.
o Expected Result: A confirmation email is sent to the user's email address, and the
user is successfully registered.
• TC_REG_02: Unsuccessful Registration with Invalid Email
o Steps:
1. Navigate to the registration page.
2. Enter an invalid email address.
3. Enter a strong password.
4. Click the "Register" button.
o Expected Result: An error message is displayed indicating the invalid email format.
• TC_REG_03: Unsuccessful Registration with Weak Password
o Steps:
1. Navigate to the registration page.
2. Enter a valid email address.
3. Enter a weak password.
4. Click the "Register" button.
o Expected Result: An error message is displayed indicating the password strength
requirements.
• TC_REG_04: Successful Registration with Social Media Account
o Steps:
1. Navigate to the registration page.
2. Click the "Sign up with Google" or "Sign up with Facebook" button.
3. Follow the social media login process.
o Expected Result: The user is successfully registered and logged in to the platform.
Requirement 2:
Users shall be able to set a strong password.
• TC_REG_05: Successful Password Setting with Strong Password
o Steps:
1. Navigate to the registration page.
2. Enter a valid email address.
3. Enter a strong password.
4. Click the "Register" button.
o Expected Result: The password is accepted, and the user is allowed to proceed with
registration.
• TC_REG_06: Unsuccessful Password Setting with Weak Password
o Steps:
1. Navigate to the registration page.
2. Enter a valid email address.
3. Enter a weak password.
4. Click the "Register" button.
o Expected Result: An error message is displayed, indicating the password strength
requirements.
Requirement 3:
Users shall receive a confirmation email or SMS upon successful registration.
• TC_REG_07: Successful Email Confirmation
o Steps:
1. Register with a valid email address.
2. Check the email inbox for a confirmation email.
3. Click the confirmation link in the email.
o Expected Result: The user's account is activated.
• TC_REG_08: Successful SMS Confirmation
o Steps:
1. Register with a valid phone number.
2. Receive an SMS with a verification code.
3. Enter the verification code on the registration page.
o Expected Result: The user's account is activated.
Profile Creation
Requirement 4:
Users shall be able to create a profile, including their name, bio, profile picture, and cover
photo.
• TC_PROFILE_01: Successful Profile Creation with Valid Information
o Steps:
1. Log in to the platform.
2. Navigate to the profile settings page.
3. Enter valid information for name, bio, profile picture, and cover photo.
4. Click the "Save" button.
o Expected Result: The profile is created successfully with the provided information.
• TC_PROFILE_02: Unsuccessful Profile Creation with Invalid Information
o Steps:
1. Log in to the platform.
2. Navigate to the profile settings page.
3. Enter invalid information, such as an excessively long name or an unsupported
file format for the profile picture.
4. Click the "Save" button.
o Expected Result: An error message is displayed, indicating the invalid input.
Requirement 5:
Users shall be able to customize their profile settings, such as privacy settings and
notifications.
• TC_PROFILE_03: Successful Customization of Privacy Settings
o Steps:
1. Log in to the platform.
2. Navigate to the privacy settings page.
3. Adjust privacy settings for posts, comments, and messages.
4. Save the changes.
o Expected Result: Privacy settings are updated successfully.
• TC_PROFILE_04: Successful Customization of Notification Settings
o Steps:
1. Log in to the platform.
2. Navigate to the notification settings page.
3. Adjust notification preferences for different types of events.
4. Save the changes.
o Expected Result: Notification settings are updated successfully.