Test and QA Plan
How the build is validated before go-live: three sequential test phases, edge cases, and production verification.
Test and QA Plan
Timesheet Collection and Approval
[YourCompany.com] · HR Department · Prepared by FullSpec · [Today's Date]
This document defines the full quality assurance programme for the Timesheet Collection and Approval automation. It is written for the FullSpec build team and covers every test case required to verify that the Collection Agent, Approval Agent, and Payroll Sync Agent behave correctly in isolation, in combination, and in a live production environment. Tests are organised into three sequential phases: no phase begins until the previous phase has fully passed. The process owner joins Phase 3 to review and formally confirm the production run before go-live is authorised.
01Testing approach
Testing is structured across three phases and must be completed in sequence. A phase may not begin until every test case in the preceding phase carries a confirmed pass status. This prevents integration or end-to-end tests from masking unit-level defects. The FullSpec team runs Phases 1 and 2 independently. The process owner participates in Phase 3 as the final reviewer and sign-off authority.
02Phase 1 — unit test cases
Collection Agent — complexity: Moderate. Estimated build time: 10 hours. Tests cover the scheduled trigger, submission-status check, personalised reminder dispatch, Google Forms ingestion, validation logic, and master sheet write.
Approval Agent — complexity: Moderate. Estimated build time: 10 hours. Tests cover approval email dispatch, token link generation, manager response logging, escalation timer, and audit trail write.
03Phase 2 — integration and edge case tests
Phase 2 tests the full agent-to-agent handoff chain and verifies that data state is maintained correctly across all three agents. Test IDs continue from T16. A separate edge-case table follows, covering realistic failure and exception scenarios that must be handled gracefully.
Edge case tests below use the E-prefix numbering series. These scenarios target data quality failures, duplicate submissions, missing employee mappings, and human timeout conditions.
04Phase 3 — end-to-end production test
Phase 3 executes one complete production run using live credentials, live Google Workspace, the live Slack workspace, and the live Xero tenant. A single internal test employee record is used for all data writes. The FullSpec team orchestrates the run and records outcomes in the test log. The process owner joins for case T27, reviews the full output, and confirms approval in the FullSpec confirmation record.
More documents for this process
Every document generated for Timesheet Collection & Approval.