Skip to content

Acceptance Testing Strategy

Ahmet Erdem Bulut edited this page Apr 30, 2026 · 5 revisions

Acceptance Testing Strategy

Our acceptance testing strategy is designed to verify that the Neighborhood Emergency Preparedness Hub meets the expectations of its intended users: community members seeking help during emergencies, volunteers coordinating responses, and domain experts providing guidance. Unlike unit or integration testing, which focuses on internal correctness, acceptance testing evaluates the system entirely from a stakeholder perspective: does it do the right thing, in realistic conditions, for the right people?

Approach. We adopt a black-box functional testing approach, meaning tests are designed and executed without knowledge of internal implementation details. Testers interact with the system exactly as an end user would — through the web interface or the Android mobile application — against the deployed staging environment, ensuring that tests reflect the conditions users will actually encounter in production. This ensures that the environment under test closely mirrors production conditions, including database state, authentication flows, and interservice communication between the Django backend, React frontend, and Android client.

Test Levels. Acceptance tests are structured across three complementary dimensions:

  • Happy path tests cover the primary success scenarios for each core feature area — Account Management, Forum, Help Requests, and Offline Capabilities. These confirm that a user can complete their intended journey without encountering errors under normal conditions.
  • Role-based access tests verify that the permission model is correctly enforced from a user's perspective. Standard users must not be able to perform expert-only actions such as responding to help requests with an expert badge, and experts must not be able to bypass account verification requirements. These tests directly validate the trust and safety model of the platform.
  • Negative tests verify that the system responds gracefully to invalid or unexpected inputs — including missing required fields, malformed data, incorrect credentials, and unauthorized access attempts. A well-behaved system from the user's perspective must not only succeed when used correctly but also fail informatively and safely when used incorrectly.

Entry Criteria. Before acceptance testing begins, the following conditions must be satisfied: the system is deployed and all services are healthy, either on the staging server or via a local Docker Compose setup mirroring the production configuration; the seed data script has been executed, populating the database with users, forum posts, and help requests representative of realistic usage; and dedicated test accounts covering the two primary user roles — standard user and expert — are available in the target environment. When testing against the local Docker Compose setup, these accounts are seeded automatically; when testing against the staging server, equivalent accounts must be created and verified prior to test execution.

Exit Criteria. Acceptance testing is considered complete and the system is ready for release when all high-priority test cases pass without defect, no open issues of severity Critical or High remain unresolved, and at least 80% of medium-priority test cases pass. Any failing medium-priority case must be documented with a clear description, reproduction steps, and an agreed resolution plan before the milestone is closed.

Test Execution. All acceptance tests are executed manually, reflecting the user-centric nature of this testing level. The frontend interface is tested on web and the mobile interface is tested via the Android Studio emulator. Prior to acceptance test execution, the full automated regression suite must pass in its entirety, serving as a prerequisite gate that ensures baseline stability before user-facing scenarios are evaluated. This suite currently comprises backend, frontend and mobile unit tests. In addition, integration tests covering API endpoint behavior and end-to-end tests simulating full user journeys are planned to be incorporated into the regression gate, further strengthening confidence in the system's correctness before acceptance testing begins.

Roles and Responsibilities. Acceptance testing is a team-wide activity. Each team member is responsible for designing and executing one concrete acceptance test case corresponding to a feature or scenario within the implementation scope. This distribution ensures full coverage across all feature areas and that every member develops direct familiarity with the system's user-facing behavior.

Clone this wiki locally