Skip to main content

Test Plan - Virtual Human YAML GUI (MVP)

1. Introduction

Purpose / Executive Summary

The purpose of this test plan is to validate that the Virtual Human (VHs) YAML GUI can safely create, configure, deploy, rollback, and teardown multiple Virtual Humans using Kafka for messaging and Kubernetes for deployment, with YAML as the source of truth.

The focus is on test smarter, not more.

2. Scope of Testing

In Scope

  • Creating a VH from a YAML template

  • YAML validation and default handling

  • Kafka topic management per VH using the extended naming convention

  • Kubernetes deployment per VH into namespace vh-<vhId>

  • Running at least two VHs in parallel to prove isolation

  • YAML version history and rollback

  • Teardown: removal of namespace and Kafka topics without leftovers

Out of Scope

  • Performance and stress testing beyond basic sanity checks
  • Kafka broker internals and Kubernetes platform internals
  • Security penetration testing
  • Testing non-MVP VH components (face recognition, audio processing)

3. Test Objectives

  • Verify that a VH can be deployed end-to-end from YAML
  • Ensure Kafka topics and Kubernetes namespaces are created correctly
  • Prove multi-instance isolation by running two VHs in parallel
  • Validate rollback restores the correct YAML version
  • Ensure teardown removes all related resources safely

4. Testing Approach

Methodologies

  • Risk-based testing
  • Agile / iterative testing
  • Automation where valuable, manual where exploratory

Types of Testing

  • Unit testing (backend logic)
  • Component testing (frontend UI logic)
  • Integration testing (Kafka + Kubernetes)
  • End-to-End (E2E) testing (full system)

Tools Used

  • JUnit (backend unit tests)
  • Angular test framework (component tests)
  • kubectl, Kafka CLI (integration & verification)
  • Manual E2E test scripts
  • Optional: TestRail for documentation

5. Test Schedule

PhaseStart DateEnd Date
Test Planning28/12/2530/12/25
Test Case Design30/12/2530/12/25
Test Execution1/1/263/01/26
Bug Fix VerificationContinuousContinuous
Test Completion1/1/263/01/26

6. Test Environment

Local Development

  • Windows 11
  • Docker Desktop
  • Kubernetes cluster via Docker Desktop
  • Kafka via Docker
  • Local Spring Boot backend
  • Angular dev server

Dev Cluster

  • Shared Kubernetes dev cluster
  • Company Kafka dev cluster

Test Data

  • YAML templates
  • Manually created VH IDs
  • Mock and controlled Kafka topics

7. Resources & Responsibilities

RoleNameResponsibilities
Developer / TesterUraela MamoTest plan, test execution, automation, reporting
Project LeadJeffrey CornelissenReview results, validate acceptance
StakeholdersVH team / S6Feedback during demos

8. Risks & Mitigation

RiskMitigation Strategy
Kafka or K8s unavailablePre-deploy reachability checks and clear error handling
Cross-VH interferenceMandatory E2E test with two parallel VHs
Teardown deletes wrong resourcesNamespace and topic verification after teardown
Time constraintsPrioritize critical E2E flows only

9. Test Deliverables

  • This test plan
  • Automated unit and component tests
  • Integration test scripts
  • E2E test checklist and evidence (logs/screenshots)
  • Short test summary per environment

10. Entry & Exit Criteria

Entry Criteria

  • Code complete for tested features
  • Kubernetes context configured
  • Kafka reachable
  • YAML template available

Exit Criteria

All critical E2E tests pass:

  • Deploy VH successfully
  • Two VHs run in parallel without interference
  • Rollback restores previous version
  • Teardown removes namespace and topics

No open critical or blocking defects.