Test Plan - s566466div/GDP-Project-EduLearn-03 GitHub Wiki

Test Plan

EDU LEARN

Last updated: 10/17/2024

1. Introduction

This document outlines the testing strategy for the Edu Learn web application, detailing test cases, data requirements, and scenarios for its key functionalities.

2. Purpose of the Document

The purpose of this test plan is to verify that the Edu Learn application meets its functional requirements, ensuring the proper functioning of user registration, authentication, course catalog search and filtering options, course enrollment, access to course materials, course dashboard and progress tracking features.

3. Summary of the Goals of the Test Plan

  • Validate user registration and login functionalities for both students and instructors.
  • Ensure the course catalog search and filter work properly.
  • Test the course enrollment process, ensuring users can browse, select, and enroll in courses.
  • Verify that enrolled students can access course materials and track their progress.
  • Evaluate system performance and overall usability.

4. Constraints

  • Authentication, course dashboard, and access to course materials are still under development and cannot be fully tested at this stage.

5. References

6. Functional Requirements

to be tested:

Feature Description List of Functional Requirements
User Registration FR 1.1, FR 1.2, FR 1.3
User Authentication FR 2.1, FR 2.2, FR 2.3
Course Catalog (Search & Filter) FR 3.1, FR 3.2
Course Enrollment FR 4.1, FR 4.2
Course Dashboard FR 5.1
Access to Course Materials FR 6.1, FR 7.1, FR 8.1,FR 9.1
Learning Progress Tracker FR 10.1

Not to be Tested:

Feature Description List of Functional Requirements Rationale
User Authentication FR 2.1, FR 2.2 (one test case fails), FR 2.3 Most test cases have passed; however, one case (FR 2.2) fails due to incomplete functionality related to role based login.
Course Dashboard FR 5.1 Functionality is still under development; test cases cannot be reliably executed at this time.
Access to Course Materials FR 6.1, FR 7.1, FR 8.1,FR 9.1 Test cases have been designed, but the incomplete implementation prevents reliable verification of access and retrieval.
Discussion Forums and Live Chat Not applicable Not yet implemented; testing is not possible.
Offline Access Not applicable This feature is not included in the current release; cannot be tested.
Password Recovery via Email Not applicable This functionality has been postponed for future iterations and is not ready for testing.

7. Approach

Required Tools:

Tool Purpose Link
Postman Performance Testing for API load testing Postman
ngrok Exposing local servers to the internet for testing ngrok
Jest / Mocha Unit Testing for backend functionalities Jest / Mocha
Cypress UI Testing for front-end components Cypress

Methods:

  • Unit Testing: To validate individual components like registration, login.
  • Black Box Testing: Focus on system behavior without looking at code.
  • UI Testing: Ensure UI consistency and functionality.

8. Test Deliverables

Registration

Requirement Test Case Description Test Type Completed
FR 1.1 Test the Registration Functionality with valid data Unit Test Cases Spreadsheet
FR 1.2 Test the Registration Functionality with invalid email/password Unit Test Cases Spreadsheet
FR 1.3 Test the Registration Functionality with all fields empty Unit Test Cases Spreadsheet

Login

Requirement Test Case Description Test Type Completed
FR 2.1 Test login functionality with valid credentials for "Student" role Unit Test Cases Spreadsheet
FR 2.2 Test login functionality with valid credentials but incorrect role selection Unit Test Cases Spreadsheet
FR 2.3 Test login functionality with empty User ID and Password Unit Test Cases Spreadsheet

Course catalog with Search and filtering options

Requirement Test Case Description Test Type Completed
FR 3.1 Test course search functionality in the course catalog Unit Test Cases Spreadsheet
FR 3.2 Test course search functionality with filtering options Unit Test Cases Spreadsheet

Course Enrollment

Requirement Test Case Description Test Type Completed
FR 4.1 Test the enrollment functionality in Edu-Learn web application Unit Test Cases Spreadsheet
FR 4.2 Test the ability to view course details without enrolling Unit Test Cases Spreadsheet

Course Dashboard

Requirement Test Case Description Test Type Completed
FR 5.1 Test the course dashboard functionality in Edu-Learn web application Unit Test Cases Spreadsheet

Access to Course Materials

Requirement Test Case Description Test Type Completed
FR 6.1 Test the reading materials functionality in Edu-Learn web application Unit Test Cases Spreadsheet
FR 7.1 Test the assignment functionality in Edu-Learn web application Unit Test Cases Spreadsheet
FR 8.1 Test the quizzes functionality in Edu-Learn web application Unit Test Cases Spreadsheet
FR 9.1 Test the video lectures functionality in Edu-Learn web application Unit Test Cases Spreadsheet

Progress Tracker

Requirement Test Case Description Test Type Completed
FR 10.1 Test the overall learning progress in Edu-Learn web application Unit Test Cases Spreadsheet