Repository navigation
Test Plan & Coverage
We will use a lightweight but effective multi-layer testing approach.
Unit tests will validate isolated logic and core business rules.
Scope
- Input validation (empty fields, invalid values)
- Vote logic (upvote/downvote switching)
- Help request status transitions
- Data formatting and mapping
- Expertise creation logic (restricted to expert users)
- Resource creation and validation
- Role-based permission checks (expert vs standard user)
Purpose
- Catch logic bugs early
- Prevent regressions
- Keep tests fast and reliable
Integration tests will verify that system components work correctly together.
Scope
- Frontend ↔ backend communication
- Backend ↔ database interactions
- Authentication and authorization
- Forum flows (post → comment → vote)
- Help request flows (create → respond → update status)
- Profile retrieval and update flows
- Adding resources to user profile
- Adding expertises (expert users only)
- Role-based access enforcement (standard vs expert users)
Purpose
- Ensure correct data flow across the system
- Detect issues in real interactions between components
End-to-end (E2E) tests will validate complete user journeys.
Scope (critical flows only)
- User registers → selects hub → enters forum
- User creates a post → sees it in forum
- User opens post → comments → votes
- User creates help request → another user responds
- User views and updates profile
- Expert user adds expertise and sees it reflected in profile
- User adds resources and verifies they are displayed
Purpose
- Ensure the system works as a whole
- Validate real user behavior
Manual testing will be used to evaluate usability and edge cases.
Scope
- Navigation between screens (Android & web)
- UI responsiveness and layout
- Error states and feedback
- Unexpected user behavior
- Slow or unstable network conditions
Purpose
- Catch usability issues
- Identify real-world problems not covered by automation
API testing will validate backend endpoints directly.
Scope
- Request/response correctness
- Status codes
- Validation errors
- Authentication behavior
- Profile endpoints (get/update profile)
- Resource creation endpoints
- Expertise creation endpoints (with role validation)
Purpose
- Ensure backend reliability
- Support integration testing
| Layer | Tool |
|---|---|
| Backend unit & integration | Django TestCase + DRF APIClient
|
| Android unit | JUnit 4 |
| Android UI | Espresso / Compose Test |
| React unit & integration | Jest + React Testing Library |
| API testing | Postman (manual) + Django test client (automated) |
Testing will focus on validating user value, not just technical correctness.
- Viewing posts (Standard / Urgent)
- Creating posts
- Viewing post details
- Commenting on posts
- Voting (upvote/downvote)
- Reporting content
- Creating help requests
- Viewing active requests
- Responding to requests
- Updating request status (open, in progress, resolved)
- Handling location and optional medical information
- Registration with hub selection
- Access control for actions (edit/delete)
- Viewing user profile
- Editing profile information
- Adding resources to profile
- Adding expertises (expert users only)
- Displaying user-specific data correctly
- Receiving urgent notifications (FCM)
- Deep linking to relevant content
- Navigation across screens
- Mobile responsiveness (Android focus)
- Empty states and error handling
The MVP will be considered successful if users can complete core tasks easily and reliably.
- Users can complete the main workflows without assistance
- The system behaves consistently and predictably
- Errors are handled clearly and do not block progress
- The interface is understandable for first-time users
- Performance is acceptable for normal usage
- No critical bugs block core functionality
The MVP is acceptable when:
- The primary use cases (forum and help requests) work end-to-end
- Users can create, view, and interact with content without failure
- Core features provide value compared to not having the product
- The experience is usable without training
- There are no major trust-breaking issues (e.g., lost data, incorrect results)
- Minor UX issues may exist but do not block task completion
The MVP must successfully handle the following scenarios:
- User registers, enters forum, creates a post, and sees it listed
- A new user can navigate and use the app without prior instruction
- User views their profile
- User adds a resource and sees it listed
- Expert user adds expertise
- Role restrictions are enforced correctly
- User opens a post, comments, and votes successfully
- User creates a help request
- Another user responds
- Request status is updated correctly
- Invalid inputs are rejected with clear feedback
- API failures do not crash the app
- Users can only edit/delete their own content
- Unauthorized actions are blocked
- Empty states (no posts, no requests)
- Duplicate actions (double submit)
- Missing or partial data
- User receives urgent notification
- Tapping notification opens correct screen
- Emergency numbers and first aid information should be accessible in offline mode through the mobile app.
- Gathering points near the users last saved location should be visible on a map.
Testing is considered complete when:
- All critical user flows pass
- No high-severity bugs remain
- Core features are stable and usable
- Known issues are documented and accepted
- The MVP delivers enough value to justify release
This test plan prioritizes:
- Integration over isolation
- User flows over technical perfection
- Speed and practicality over completeness
The focus is to ensure the product works for real users, not just in theory.
Team Members
- Weekly Meeting 1 (15.02.2026)
- Weekly Meeting 2 (23.02.2026)
- Weekly Meeting 3 (03.03.2026)
- Weekly Meeting 4 (11.03.2026)
- Weekly Meeting 5 (16.03.2026)
- Weekly Meeting 6 (23.03.2026)
- Weekly Meeting 7 (30.03.2026)
- Weekly Meeting 8 (06.04.2026)
- Weekly Meeting 9 (15.04.2026)
- Weekly Meeting 10 (29.04.2026)
- Weekly Meeting 11 (06.05.2026)
- Weekly Meeting 12 (11.05.2026)
- Lab 1 Report (12.02.2026)
- Lab 2 Report (19.02.2026)
- Lab 3 Report (26.02.2026)
- Lab 4 Report (05.03.2026)
- Lab 5 Report (12.03.2026)
- Lab 6 Report (26.03.2026)
- Lab 7 Report (02.04.2026)
- Lab 8 Report (16.04.2026)
- Lab 9 Report (30.04.2026)
- Lab 10 Report (07.05.2026)