Skip to content

Test Plan

delos0 edited this page Mar 26, 2026 · 8 revisions

Testing Plan For Our Team

This document specifies the testing standards, strategies, and acceptance criteria for our codebase to ensure stability, reliability, and alignment with user needs.

1. Testing Strategy

Our testing strategy employs a multi-layered approach, catching bugs at the lowest possible level while ensuring end-to-end functionality remains intact after integrations.

Unit Tests

  • Scope: Focus on isolated business logic, calculation functions, state management, and data validation rules.
  • Process: Developers must write and pass unit tests before pushing or merging code.
  • Dependencies: External dependencies (e.g., databases, external APIs, or complex classes) will be simulated using mock data and mock functions to ensure isolation.
  • Tools:
    • Backend: JUnit (Java) along with Mockito for mocking dependencies.
    • Frontend: Jest (React) for component logic and state testing.
    • Mobile: flutter_test (Flutter) for testing widgets

API Tests

  • Scope: Validate the functionality, reliability, and security of the backend services.
  • Process: Every REST API endpoint must have automated tests verifying CRUD operations, correct HTTP status codes, and proper error handling.
  • Tools: Postman collections will be maintained and executed against the staging environment.

Integration Tests

  • Scope: Verify that different modules or services work correctly when combined (e.g., React frontend communicating with the Java backend, or the backend querying the database).
  • Process: Conducted automatically in the CI/CD pipeline after a merge to the main or staging branches to detect breaking changes between system components.

UI/UX Tests

  • Scope: Validate the visual elements, responsiveness, accessibility, and overall user flow of the frontend to ensure it matches design specifications and provides an intuitive, frictionless experience.
  • Process: Conducted manually by the programmer (and ideally a designer or QA tester) to "get the feel" of the application and perform exploratory testing. This involves clicking through user journeys, resizing browser windows to check responsiveness, and verifying that states (loading, error, success) render correctly.
  • Tools: Browser Developer Tools (for responsive/layout testing), Figma (for design comparison).

2. User Acceptance Criteria

To consider the Minimum Viable Product (MVP) acceptable for launch, it must meet the following baseline conditions:

  • Core Value Delivery: A user can complete a full navigation flow (search → filter → route → Trip Complete) without errors.
  • Stability: The application does not crash or lose user data during normal operation.
  • Usability: The interface is intuitive enough that a new user can navigate the core workflow without requiring external documentation or training.
  • Feedback & Error Handling: If a user makes a mistake (e.g., invalid input) or a system error occurs, the UI provides clear, actionable error messages rather than failing silently.

To define a MVP scenario successfull:

  • The MVP is not acceptable if any of the five scenarios cannot be completed end-to-end by a first-time user without guidance.
  • The MVP must suit the requirements given in the requirements page according to MVP's scope.

logo Mapcess

Team Members

Final Milestone Deliverables

MVP Deliverables

Lab Reports

Communication Plan

Weekly Meetings

Sub-Group Meetings

Other Meetings

Project Documentation

RAM

Scenarios and Mock-ups

Use Case Diagrams (Initial)

Use Case Diagram (Final)

Class Diagram (Final)

Sequence Diagram (Final)

Standards & Conventions

Test & Coverage Plan

Mapping API Comparison Report

MVP Demo

Final Demo

Clone this wiki locally