-
Notifications
You must be signed in to change notification settings - Fork 0
Test Policy
Enzo Garnier edited this page Nov 24, 2025
·
1 revision
Objective: to detail how to execute each phase of the protocol.
Content:
- Protocol steps (preparation → execution → validation → regression)
- Prerequisites (test data, versions, environments)
- Tool configuration (Cypress config, test scripts, CI/CD pipelines)
- Scenario prioritization method (RICE, risk, criticality)
- Acceptance criteria (Definition of Ready / Definition of Done)
# Test Protocol – Template (Unity Game)
> **Version:** vX.X
> **Project:** Game Name
> **Author:** Name / QA Team
> **Date:** DD/MM/YYYY
---
## 1. Purpose of the Document
This document defines the complete procedures, environments, and methods required to execute the testing phases of a Unity game. This template is designed to be reusable across any Unity project.
---
## 2. Test Scope
**In Scope:**
* Functional tests
* Gameplay tests
* UI/UX tests
* Audio & effects tests
* Performance tests
* Cross-platform compatibility tests
* Save/Load system tests
**Out of Scope:**
* Localization tests (if not applicable)
* Multiplayer tests (if not applicable)
* Advanced hardware validation
---
## 3. Test Environment
### 3.1 Hardware Configuration
* Platform: PC / Console / Mobile
* CPU: …
* GPU: …
* RAM: …
* OS: …
### 3.2 Software Configuration
* Unity Version: …
* Build Target: PC / Android / iOS / WebGL
* Git Branch: …
* Build ID: …
### 3.3 Test Data
* Preconfigured save files
* Player accounts
* Specific assets
---
## 4. Test Strategy
### 4.1 Types of Tests
* **Unit Tests** (EditMode / PlayMode)
* **Functional Tests**
* **Integration Tests**
* **Gameplay Tests**
* **UI/UX Tests**
* **Performance / Stress Tests**
* **Platform Compliance Tests**
* **Accessibility Tests**
### 4.2 Priority Levels
* **P1 – Critical:** Game-breaking
* **P2 – Major:** Blocks normal progression
* **P3 – Minor:** Non-blocking issue
---
## 5. Test Case Structure (Template)
Each test case must follow this format:
### **Test ID:** TC-XXX-YYY
### **Title:** …
### **Objective:** …
### **Preconditions:** …
### **Steps:**
1. …
2. …
3. …
### **Expected Result:** …
### **Priority:** P1 / P2 / P3
### **Requirement / User Story Link:** …
---
## 6. Test Plan – Sections (to be filled depending on the game)
### 6.1 Gameplay Tests
* Player movement
* Jump / physics interactions
* Combat / interactions
* AI behavior
### 6.2 UI / UX Tests
* Main menu
* HUD elements
* Visual feedback
### 6.3 Audio Tests
* Background music
* Sound effects
* Volume variation
### 6.4 Performance Tests
* FPS stability
* Loading times
* Stress test behavior
### 6.5 Save / Load Tests
* Save file creation
* State restoration
### 6.6 Cross-Platform Tests (if applicable)
* Mobile: touch input, resolutions
* PC: keyboard/mouse and controller support
---
## 7. Acceptance Criteria
A build is validated when:
* No **P1** bugs remain
* Maximum of 3 **P2** bugs allowed
* All critical gameplay and UI tests pass
* Performance meets project requirements
---
## 8. Bug Tracking Procedure
### 8.1 Bug Report Template
* **Bug ID:** BUG-XXX
* **Title:** …
* **Environment:** …
* **Steps to Reproduce:** …
* **Expected Result:** …
* **Observed Result:** …
* **Severity:** P1 / P2 / P3
* **Attachment (screenshot/video):** Yes / No
* **Assigned To:** …
---
## 9. Appendices
* Glossary
* Build folder locations
* Git / CI links
* Relevant Unity documentation