Lab 6: Test Plan - bounswe/bounswe2025group8 GitHub Wiki

Frontend - Testing Plan

Overview

The testing effort focuses on improving unit-test coverage and ensuring robust end-to-end (E2E) testing using Selenium. The objective is to achieve full testing readiness before the MVP delivery, ensuring standards compliance across all features.

Testing Priorities

  • Strengthen unit-test coverage across critical modules.
  • Implement front-end validation tests using Selenium.
  • Complete all planned tests and feature work before the MVP release.

Implementation Schedule

Selenium E2E Tests

Scenario Description Deadline
Scenario 1 User Registration Nov 16 (Sunday) – 9:00 PM
Scenario 2 User Login Nov 16 (Sunday) – 9:00 PM
Scenario 3 Create a Request Nov 16 (Sunday) – 9:00 PM
Scenario 4 Volunteer for a Request Nov 16 (Sunday) – 9:00 PM
Scenario 5 Guest Browsing Nov 18 (Tuesday) – 3:00 PM
Scenario 6 Filter Posts by Category Nov 18 (Tuesday) – 3:00 PM

Unit Tests

Type Framework Deadline
Unit Tests Vitest Nov 21 (Friday) – 9:00 PM

Backend - Testing Plan

Overview

The testing effort focuses on improving unit-test coverage for models, serializers, and views, and expanding our integration and Postman tests. The objective is to significantly increase backend test coverage and ensure all instructor requirements are met, guaranteeing system stability.

Testing Priorities

  • Fill Gaps: Add new tests for layers with no coverage (Serializers, Views).
  • Expand: Enhance existing model tests with new scenarios and edge cases.
  • Integration: Strengthen test_integration.py with full user-flow scenarios.
  • Postman: Update Postman collections to reflect new APIs and scenarios.

Implementation Schedule

Unit & API Tests (by Module)

Assigned Module Focus Key Tasks Deadline
Eray Tasks & Volunteers Expand model tests. Add new Serializer & View tests. Nov 16 (Sunday) – 11:59 PM
Erdem User, Auth, Comments Expand model tests. Add new Serializer & Auth View tests. Nov 16 (Sunday) – 11:59 PM
Yusuf Kaan Bookmarks, Photos, Notifications Expand model tests. Add new Serializer & View tests. Nov 16 (Sunday) – 11:59 PM

Special Duty Tests

Type Owner Task Deadline
Integration Tests Eray Expand test_integration.py with new end-to-end workflows. Nov 16 (Sunday) – 11:59 PM
Postman Tests Yusuf Kaan Expand existing Postman collections with new requests. Nov 16 (Sunday) – 11:59 PM

Links to the Issues:

Mobile - Testing Plan

Overview

The testing effort focuses on achieving reliable functional and integration testing for all core user flows within the mobile app.
The objective is to ensure seamless usability, stable performance, and consistent data handling before the MVP delivery deadline.

Testing Priorities

  • Strengthen integration and UI testing across essential features.
  • Validate user flows such as registration, login, and volunteering end-to-end.
  • Ensure data persistence and error handling match backend and frontend logic.

Implementation Schedule

End-to-End (E2E) Tests

Scenario Description Deadline
Scenario 1 User Registration Nov 17 (Monday) – 9:00 PM
Scenario 2 User Login Nov 17 (Monday) – 9:00 PM
Scenario 3 Create a Request Nov 17 (Monday) – 9:00 PM
Scenario 4 Volunteer for a Request Nov 17 (Monday) – 9:00 PM
Scenario 5 Filter Requests by Category Nov 17 (Monday) – 9:00 PM
Scenario 6 Location Display and Map Rendering Nov 17 (Monday) – 9:00 PM
Scenario 7 Authentication and Role Enforcement Nov 17 (Monday) – 9:00 PM
Scenario 8 Error Handling and Validation Nov 17 (Monday) – 9:00 PM
Scenario 9 Data Persistence on Reload and Re-login Nov 17 (Monday) – 9:00 PM
Scenario 10 Performance under Typical Usage Nov 17 (Monday) – 9:00 PM

Test Framework

Type Framework
E2E Tests Detox
Unit & Integration Tests Jest / React Native Testing Library