Test cases for a College Social Networking project are a set of tests that are used to ensure that the project functions as intended and meets the requirements. Here are some examples of test cases that could be used for a College Social Networking project:
User registration: Test the ability to create a new user account by providing valid and invalid inputs for the required fields.
Login and Logout: Test the ability to log in to an existing account and log out of the system.
Profile creation and editing: Test the ability to create and edit a user’s profile, including uploading a profile picture and updating personal information.
Group creation and management: Test the ability to create and manage groups, including adding and removing members, and posting and commenting on group-related content.
Event creation and management: Test the ability to create and manage events, including posting and commenting on event-related content.
Search functionality: Test the ability to search for users, groups, and events, and ensure that the results are accurate and relevant.
Messaging and notifications: Test the ability to send and receive messages, and receive notifications for new messages, group posts, and events.
Security: Test the system for security vulnerabilities by attempting to perform unauthorized actions such as hacking the system or injecting malicious code.
Usability: Test the overall usability of the system by having test users perform common tasks and evaluate the user experience.
Mobile compatibility: Test the compatibility of the system with different mobile devices and web browsers to ensure that it works correctly on all platforms.
Test Cases for College Social Networking Project
Adding User:
Serial No.
ConditionTo be Tested
Test Data
Expected Output
Remarks
1.
If user type is not selected
usertype
Kindly select user type.
SUCCESSFUL
2.
If user name contains other than Character values
name
Name should contain only alphabets.
SUCCESSFUL
3.
If login id contains other than alphabets and digits
loginid
Only alphabets and numeric values are allowed.
SUCCESSFUL
4.
If password length is less than 8 characters
password
Password must contain at least 8 characters.
SUCCESSFUL
5.
If password and confirm password does not match.
password, confirmpassword
Password and Confirm password are not matching.
SUCCESSFUL
6.
If status is not selected
status
Kindly select your status.
SUCCESSFUL
User login:
Serial No.
ConditionTo be Tested
Test Data
Expected Output
Remarks
1.
If login id contains other than alphabets and digits
loginid
Only alphabets and numeric values are allowed.
SUCCESSFUL
2.
If password contains less than 8 characters
password
Password must contain at least 8 characters..
SUCCESSFUL
User Profile Update:
Serial No.
ConditionTo be Tested
Test Data
Expected Output
Remarks
1.
If user name contains other than Character values.
name
Name should contain only alphabets.
SUCCESSFUL
User Change Password:
Serial No.
ConditionTo be Tested
Test Data
Expected Output
Remarks
1.
If the old password contains less than 8 characters
oldpassword
Password must contain at least 8 characters.
SUCCESSFUL
2.
If the new password contains less than 8 characters
newpassword
Password must contain at least 8 characters.
SUCCESSFUL
3.
If the password and confirm password does not match
newpassword, confirmpassword
Password and Confirm password are not matching.
SUCCESSFUL
Adding Student:
Serial No.
ConditionTo be Tested
Test Data
Expected Output
Remarks
1.
If student name contains other than Character values
name
Name should contain only alphabets.
SUCCESSFUL
2.
If roll number contains other than digits
rollno
Only numeric values allowed.
SUCCESSFUL
3.
If course is not selected
course
Kindly select your course.
SUCCESSFUL
4.
If semester is not selected.
semester
Kindly select your semester.
SUCCESSFUL
Test Unit: Student Component
Student Registration:
Serial No.
ConditionTo be Tested
Test Data
Expected Output
Remarks
1.
If student name contains other than Character values
name
Name should contain only alphabets.
SUCCESSFUL
2.
If course is not selected
course
Kindly select your course.
SUCCESSFUL
3.
If semester is not selected.
semester
Kindly select your semester.
SUCCESSFUL
4.
If roll number contains other than digits
rollno
Only numeric values allowed.
SUCCESSFUL
5.
If password contains less than 8 characters
password
Password must contain at least 8 characters..
SUCCESSFUL
6.
If password and confirm password does not match
password, confirmpassword
Password and Confirm password are not matching.
SUCCESSFUL
7.
If E-mail ID is invalid
emailid
Invalid E-mail ID.
SUCCESSFUL
Student login:
Serial No.
ConditionTo be Tested
Test Data
Expected Output
Remarks
1.
If the Registration Number and Password does not match.
rollno, password
Invalid Roll Number and password
SUCCESSFUL
2.
If roll number contains other than digits
rollno
Only numeric values allowed.
SUCCESSFUL
3.
If password contains less than 8 characters
password
Password must contain at least 8 characters..
SUCCESSFUL
Student Profile Update:
Serial No.
ConditionTo be Tested
Test Data
Expected Output
Remarks
1.
If student name contains other than Character values
name
Name should contain only alphabets.
SUCCESSFUL
2.
If semester is not selected
semester
Kindly select your semester.
SUCCESSFUL
3.
If E-mail ID is invalid
emailid
Invalid E-mail ID.
SUCCESSFUL
Student Change Password:
Serial No.
ConditionTo be Tested
Test Data
Expected Output
Remarks
1.
If the old password contains less than 8 characters
oldpassword
Password must contain at least 8 characters.
SUCCESSFUL
2.
If the new password contains less than 8 characters
newpassword
Password must contain at least 8 characters.
SUCCESSFUL
3.
If the password and confirm password does not match
newpassword, confirmpassword
Password and Confirm password are not matching.
SUCCESSFUL
Student Forgot Password:
Serial No.
ConditionTo be Tested
Test Data
Expected Output
Remarks
1.
If the Registration Number and email ID does not match.