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. | Condition To 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. | Condition To 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. | Condition To 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. | Condition To 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. | Condition To 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. | Condition To 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. | Condition To 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. | Condition To 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. | Condition To 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. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If the Registration Number and email ID does not match. | rollno, emailid | Invalid login credentials entered. | SUCCESSFUL |
2. | If roll number contains other than digits | rollno | Only numeric values allowed. | SUCCESSFUL |
3. | If the E-mail ID is invalid. | emailid | Enter the valid email id. | SUCCESSFUL |
- Test Unit: Wallpost component:
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If message is not entered | text | Message cannot be empty. | SUCCESSFUL |
2. | If image is not chosen | image | Kindly post image. | SUCCESSFUL |
3. | If video is not chosen | video | Kindly post video. | SUCCESSFUL |
- Test Unit: Notice component:
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If notice type is not selected | noticetype | Kindly select Notice type. | SUCCESSFUL |
2. | If title is not entered | title | Title cannot be empty. | SUCCESSFUL |
3. | If description is not entered | description | Kindly add description. | SUCCESSFUL |
- Test Unit: Course component:
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If course is not added | coursetitle | Kindly add Course. | SUCCESSFUL |
- Test Unit: Subject component:
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If course is not selected. | coursetitle | Kindly select Course. | SUCCESSFUL |
2. | If semester is not selected. | semester | Kindly select semester. | SUCCESSFUL |
3. | If subject is not added. | subject | Kindly add Subject. | SUCCESSFUL |
- Test Unit: Discussion component:
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If subject is not selected | subject | Select the subject. | SUCCESSFUL |
2. | If title is not entered | title | Title must be entered | SUCCESSFUL |
3. | If description is not entered | description | Description should not be empty. | SUCCESSFUL |
- Test Unit: Discussion Reply component:
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If the title and uploads are empty. | title, uploads | Repy cannot be empty. | SUCCESSFUL |
Test Unit: Study Material component:
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If course is not selected. | coursetitle | Kindly select Course. | SUCCESSFUL |
2. | If semester is not selected. | semester | Kindly select semester. | SUCCESSFUL |
3. | If subject is not selected. | subject | Kindly select Subject. | SUCCESSFUL |
4. | If title is not entered | title | Title should not be empty. | SUCCESSFUL |
5. | If uploads are not added | uploads | Kindly include uploads. | SUCCESSFUL |
- Test Unit: Quiz Component:
- Add Quiz:
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If course is not selected | course | Kindly select course. | SUCCESSFUL |
2. | If semester is not selected | semester | Kindly select semester. | SUCCESSFUL |
3. | If subject is not selected | subject | Kindly select subject. | SUCCESSFUL |
4. | If title is not entered | title | Title must not be empty. | SUCCESSFUL |
- Add Questions:
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If quiz question is not added. | question | Kindly add quiz question. | SUCCESSFUL |
2. | If options are not added | option1, option2, option3, option4 | Options cannot be empty. | SUCCESSFUL |
3. | If correct answer is not selected | correctanswer | Kindly select the correct answer. | SUCCESSFUL |
Leave a reply