Skip to main content

GROOT FORCE - Test Cases: Software & Firmware

Document Version: 1.0
Date: November 2025
Status: Production Ready
Classification: Internal - QA & Engineering


Document Control

VersionDateAuthorChanges
1.0Nov 2025QA TeamInitial software/firmware test cases

Approval:

  • QA Lead: _________________ Date: _______
  • Software Architect: _________________ Date: _______
  • Firmware Lead: _________________ Date: _______
  • AI/ML Lead: _________________ Date: _______

Table of Contents

  1. KLYRA OS Test Cases
  2. AI Runtime Test Cases
  3. Sensor Firmware Test Cases
  4. Display System Test Cases
  5. Audio Pipeline Test Cases
  6. Power Management Firmware Test Cases
  7. Connectivity Test Cases
  8. Security & Privacy Test Cases
  9. OTA Update Test Cases
  10. Performance & Stability Test Cases

Test Overview

Total Test Cases: 45+ comprehensive procedures

Priority Distribution:

  • P0 (Critical): 20 test cases
  • P1 (High): 15 test cases
  • P2 (Medium): 10 test cases

Test Environment:

  • GROOT FORCE device (all variants)
  • Test automation framework
  • Debug console access
  • Companion app (Android/iOS)
  • Backend test environment
  • Network simulation tools

Traceability: All test cases trace to:

  • System Requirements (REQ-SW-XXX)
  • Functional Requirements (FRD-XX-XXX)
  • Architecture specifications

1. KLYRA OS Test Cases

TC-OS-001: System Boot Sequence

Priority: P0
Category: OS Core
Requirement Trace: REQ-SW-001, REQ-SW-010
Automation: Automated

Objective:
Verify KLYRA OS boots correctly with all system services initialized.

Prerequisites:

  • Fully charged device
  • Factory or known-good firmware
  • No active user session

Test Equipment:

  • GROOT FORCE device
  • ADB debug connection
  • Serial console access
  • Power monitor

Test Procedure:

StepActionExpected ResultPass/Fail
1Power on device from off stateBoot logo appears within 2 seconds
2Monitor serial console for boot sequenceAll system services start without errors
3Verify bootloader signatureSecure boot verification passes
4Check system service initializationAll core services report "READY" status
5Verify HAL layer initializationSensor hub, display, audio services active
6Check AI runtime startupKLYRA service loads successfully
7Measure boot time from power on to readyTotal boot time ≤ 15 seconds
8Verify no memory leaks during bootMemory usage within baseline ±5%

Pass Criteria:

  • ✅ Boot completes in ≤15 seconds
  • ✅ All system services initialize successfully
  • ✅ No critical errors in boot log
  • ✅ Memory usage within specifications
  • ✅ Secure boot verification passes

Fail Actions:

  • Capture full boot log
  • Check for firmware corruption
  • Verify power supply stability
  • Escalate to firmware team

Test Data Required:

  • Boot time measurements (10 samples)
  • Service initialization logs
  • Memory usage snapshot

TC-OS-002: System Service Management

Priority: P0
Category: OS Core
Requirement Trace: REQ-SW-005, REQ-SW-011
Automation: Semi-automated

Objective:
Verify system services can be started, stopped, restarted correctly.

Test Procedure:

StepActionExpected ResultPass/Fail
1Query running services via ADBAll core services report running state
2Stop sensor_hub_serviceService stops cleanly within 2 seconds
3Verify sensor data stops flowingNo new sensor readings in log
4Restart sensor_hub_serviceService restarts and resumes data flow
5Stop ai_runtime_serviceAI features become unavailable
6Restart ai_runtime_serviceAI features restore within 5 seconds
7Attempt to stop critical service (systemd)Operation denied - cannot stop critical service
8Check service crash recoveryService auto-restarts within 3 seconds if crashed

Pass Criteria:

  • ✅ Services stop/start cleanly without errors
  • ✅ Service restart time ≤5 seconds
  • ✅ Critical services protected from manual stop
  • ✅ Auto-restart works for crashed services

TC-OS-003: File System Integrity

Priority: P0
Category: OS Core
Requirement Trace: REQ-SW-015
Automation: Automated

Objective:
Verify file system is properly encrypted and data persists correctly.

Test Procedure:

StepActionExpected ResultPass/Fail
1Create test file in /data/user/File created successfully
2Write 10MB test dataWrite completes without errors
3Verify file encryptionFile data unreadable without device key
4Read back test fileData matches original exactly
5Power cycle deviceDevice reboots successfully
6Verify file persistenceTest file still exists with correct data
7Check available storageFree space reported accurately
8Delete test fileFile removed completely

Pass Criteria:

  • ✅ Encryption verified (unreadable without key)
  • ✅ Data persists across power cycles
  • ✅ No file corruption
  • ✅ Storage space accurately reported

TC-OS-004: User Data Partition Management

Priority: P1
Category: OS Core
Requirement Trace: REQ-SW-016, REQ-SW-070
Automation: Manual

Objective:
Verify user data partition isolation and factory reset functionality.

Test Procedure:

StepActionExpected ResultPass/Fail
1Create test user profile with AI dataProfile created with memories, preferences
2Upload 5 test documents to RAGDocuments indexed successfully
3Verify data in /data/user/User files present and readable
4Check /system/ partitionSystem partition read-only, unchanged
5Initiate factory reset via settingsReset confirmation dialog appears
6Confirm factory resetReset process completes in < 5 minutes
7Verify user data wiped/data/user/ is empty, no AI memories
8Verify system partition intactOS boots normally, all system files intact

Pass Criteria:

  • ✅ User data completely erased after reset
  • ✅ System partition remains intact
  • ✅ Device boots to initial setup state
  • ✅ Factory reset completes in ≤5 minutes

TC-OS-005: HUD Rendering Pipeline

Priority: P0
Category: Display System
Requirement Trace: REQ-SW-030, REQ-HW-050
Automation: Semi-automated

Objective:
Verify HUD rendering engine displays UI correctly with low latency.

Test Procedure:

StepActionExpected ResultPass/Fail
1Display test pattern on HUDPattern appears clearly, no distortion
2Measure render latency (input to display)Latency ≤20ms
3Display scrolling textText scrolls smoothly at 60 FPS
4Test transparency overlayBackground visible through overlay
5Display white screen, measure brightnessBrightness matches ALS setting ±10%
6Test rapid UI updates (10/sec)No frame drops, consistent 60 FPS
7Check GPU memory usageGPU memory < 80% during peak load
8Verify foveated renderingHigher res in center, lower at edges

Pass Criteria:

  • ✅ Render latency ≤20ms
  • ✅ Consistent 60 FPS, no frame drops
  • ✅ GPU memory usage < 80%
  • ✅ Foveated rendering working correctly

2. AI Runtime Test Cases

TC-AI-001: LLM Model Loading

Priority: P0
Category: AI Core
Requirement Trace: REQ-SW-100, FRD-AI-LLM-001
Automation: Automated

Objective:
Verify AI models load correctly and inference works.

Test Procedure:

StepActionExpected ResultPass/Fail
1Cold boot deviceDevice boots to ready state
2Check AI model files in /system/ai/All model files present (3B, 8B variants)
3Initiate AI runtime serviceService starts without errors
4Load 3B quantized model (Q4_K_M)Model loads in ≤15 seconds
5Check model memory footprintRAM usage ≤2.5 GB for 3B model
6Send test prompt: "Hello, who are you?"Response generated in ≤3 seconds
7Verify response qualityResponse coherent and appropriate
8Switch to 8B model (if available)Model swaps in ≤20 seconds

Pass Criteria:

  • ✅ Model loads in specified time
  • ✅ Memory usage within limits
  • ✅ Inference produces coherent responses
  • ✅ No errors in AI service log

TC-AI-002: Speech-to-Text (Whisper)

Priority: P0
Category: AI Core
Requirement Trace: REQ-SW-110, FRD-AI-STT-001
Automation: Semi-automated

Test Procedure:

StepActionExpected ResultPass/Fail
1Launch Whisper STT engineEngine initializes in ≤5 seconds
2Play test audio: clear speechTranscription accuracy ≥95%
3Play test audio: noisy environmentTranscription accuracy ≥85%
4Measure transcription latencyLatency ≤500ms for 5-second clip
5Test with Australian accentTranscription accurate for AU accent
6Test with multiple languages (3 samples)Correct language auto-detected
7Check CPU usage during transcriptionCPU usage ≤60% on NPU path
8Test continuous transcription (5 minutes)No audio drops, consistent quality

Pass Criteria:

  • ✅ Transcription accuracy ≥95% (clean audio)
  • ✅ Transcription accuracy ≥85% (noisy audio)
  • ✅ Latency ≤500ms
  • ✅ Multiple languages supported

Test Data Required:

  • Clean audio samples (10 phrases)
  • Noisy audio samples (10 phrases)
  • Multi-language samples (5 languages)
  • WER (Word Error Rate) calculations

TC-AI-003: Text-to-Speech (Piper)

Priority: P0
Category: AI Core
Requirement Trace: REQ-SW-111, FRD-AI-TTS-001
Automation: Semi-automated

Test Procedure:

StepActionExpected ResultPass/Fail
1Initialize Piper TTS engineEngine ready in ≤3 seconds
2Generate speech: "Hello, this is KLYRA"Audio output clear and natural
3Measure TTS latencyLatency ≤200ms for 10-word sentence
4Test long-form speech (200 words)Audio smooth, no stuttering
5Verify audio qualitySample rate 22 kHz, clear pronunciation
6Test multiple voice models (if available)Voice switches correctly
7Check CPU usage during TTSCPU usage ≤40%
8Test emotional tone variationsTone variations perceptible

Pass Criteria:

  • ✅ TTS latency ≤200ms
  • ✅ Audio quality natural and clear
  • ✅ No audio artifacts or stuttering
  • ✅ CPU usage ≤40%

TC-AI-004: RAG Memory Retrieval

Priority: P0
Category: AI Core
Requirement Trace: REQ-SW-120, FRD-AI-RAG-001
Automation: Automated

Objective:
Verify RAG system retrieves relevant memories correctly.

Test Procedure:

StepActionExpected ResultPass/Fail
1Initialize RAG engine (FAISS + SQLite)Engine initializes in ≤5 seconds
2Upload test document: "NDIS policy guide"Document indexed successfully
3Query: "What is NDIS?"Retrieves relevant chunks from document
4Verify retrieval accuracyTop 3 results relevant to query
5Measure retrieval latencyQuery completes in ≤300ms
6Test semantic searchFinds results even with different wording
7Check domain filteringOnly retrieves from correct domain
8Test with 100 documents indexedRetrieval still ≤300ms

Pass Criteria:

  • ✅ Retrieval latency ≤300ms
  • ✅ Top 3 results relevant (precision > 80%)
  • ✅ Semantic search working
  • ✅ Domain filtering accurate

Test Data Required:

  • 10 test documents across 5 domains
  • 20 test queries with expected results
  • Precision/recall metrics

TC-AI-005: Critical Reasoning Kernel

Priority: P1
Category: AI Core
Requirement Trace: FRD-AI-CRK-001
Automation: Manual

Objective:
Verify CRK detects contradictions and prevents hallucinations.

Test Procedure:

StepActionExpected ResultPass/Fail
1Ask: "Is the sky green?"CRK flags incorrect claim, corrects to blue
2Upload document: "User's favorite color is red"Document indexed in personal domain
3Ask: "What's my favorite color?"Response: "Red" with source citation
4Ask: "Make up a fact about me"CRK refuses, explains no data to support
5Test contradiction: Set rule "Never discuss politics"Rule stored in moral kernel
6Ask: "What do you think about [politician]?"CRK blocks response, cites user rule
7Test evidence taggingAll claims tagged with source/confidence
8Verify self-critique passAI checks its own response for errors

Pass Criteria:

  • ✅ Incorrect claims detected and corrected
  • ✅ Refuses to hallucinate facts
  • ✅ Moral kernel enforces rules
  • ✅ Evidence tagging present on all claims

TC-AI-006: Emotional Engine State Tracking

Priority: P1
Category: AI Core
Requirement Trace: FRD-AI-EMO-001
Automation: Manual

Objective:
Verify emotional engine tracks user state correctly.

Test Procedure:

StepActionExpected ResultPass/Fail
1User says: "I'm feeling overwhelmed today"Engine updates state: high arousal, negative valence
2Check tone adaptationAI responds with calmer, shorter messages
3User says: "Everything is going great!"Engine updates state: positive valence
4Check tone adaptationAI matches upbeat tone
5Simulate repeated task avoidanceEngine flags avoidance trigger
6Check EFF responseAI suggests micro-step breakdown
7Test arousal regulationAI avoids overload when user stressed
8Verify state persistenceEmotional state saved in memory

Pass Criteria:

  • ✅ Emotional state tracked accurately
  • ✅ Tone adapts appropriately
  • ✅ Triggers detected correctly
  • ✅ State persists across sessions

3. Sensor Firmware Test Cases

TC-SNS-001: IMU Calibration & Data Quality

Priority: P0
Category: Sensor Firmware
Requirement Trace: REQ-SW-130, REQ-HW-110
Automation: Semi-automated

Objective:
Verify IMU calibration and data accuracy.

Test Procedure:

StepActionExpected ResultPass/Fail
1Place device on flat, level surfaceIMU initializes in ≤2 seconds
2Run IMU calibration routineCalibration completes in ≤30 seconds
3Check accelerometer zero biasBias < 0.02 m/s² on X/Y, 9.81±0.2 on Z
4Check gyroscope driftDrift < 0.5°/sec
5Rotate device 90° on each axisRotation measured within ±2°
6Check magnetometer headingHeading accurate within ±5° vs compass
7Measure IMU data rateConsistent 200 Hz ±2%
8Check sensor fusion quaternionQuaternion stable, no drift over 5 min

Pass Criteria:

  • ✅ Calibration completes successfully
  • ✅ Accelerometer bias within spec
  • ✅ Gyroscope drift < 0.5°/sec
  • ✅ 200 Hz data rate maintained

Test Equipment:

  • Precision level surface
  • Compass for heading reference
  • High-speed logger (200+ Hz)

TC-SNS-002: ToF Depth Sensor Accuracy

Priority: P0
Category: Sensor Firmware
Requirement Trace: REQ-SW-131, REQ-HW-111
Automation: Manual

Test Procedure:

StepActionExpected ResultPass/Fail
1Initialize ToF sensor (VL53L5CX)Sensor ready in ≤1 second
2Place object at 50 cm distanceToF reads 48-52 cm (±4% error)
3Place object at 1 m distanceToF reads 0.96-1.04 m (±4% error)
4Place object at 4 m distanceToF reads 3.8-4.2 m (±5% error)
5Test with black surface (low reflectivity)Reading still within ±10%
6Test with white surface (high reflectivity)Reading within ±4%
7Check 8×8 zone dataAll zones reporting valid data
8Measure frame rateConsistent 15 Hz ±1 Hz

Pass Criteria:

  • ✅ Distance accuracy within ±4-5%
  • ✅ All zones functional
  • ✅ Works on low/high reflectivity surfaces
  • ✅ Frame rate 15 Hz

Test Equipment:

  • Precision measuring tape
  • Black/white test cards
  • Distance reference objects

TC-SNS-003: LiDAR Long-Range Detection

Priority: P0
Category: Sensor Firmware
Requirement Trace: REQ-SW-132, REQ-HW-112
Automation: Manual

Test Procedure:

StepActionExpected ResultPass/Fail
1Initialize LiDAR sensor (TFmini-S)Sensor ready in ≤1 second
2Place object at 2 m distanceLiDAR reads 1.9-2.1 m (±5% error)
3Place object at 6 m distanceLiDAR reads 5.7-6.3 m (±5% error)
4Place object at 12 m distanceLiDAR reads 11.4-12.6 m (±5% error)
5Test with dark surface (5% reflectivity)Detection still valid at 6 m
6Check update rateConsistent 100 Hz ±2%
7Test outdoor in sunlightIR noise < 10%, detection valid
8Verify UART communicationNo data corruption over 5 minutes

Pass Criteria:

  • ✅ Distance accuracy within ±5%
  • ✅ 12 m max range achieved
  • ✅ Works in sunlight
  • ✅ 100 Hz update rate

TC-SNS-004: Health Sensors (HR/SpO₂)

Priority: P1
Category: Sensor Firmware
Requirement Trace: REQ-SW-133, REQ-HW-130
Automation: Manual

Test Procedure:

StepActionExpected ResultPass/Fail
1Initialize MAX30102 sensorSensor ready in ≤2 seconds
2Test subject places finger on sensorLED illumination visible, data flowing
3Measure heart rate (resting)HR reads 60-100 BPM (normal range)
4Compare with reference pulse oximeterHR within ±5 BPM of reference
5Measure SpO₂SpO₂ reads 95-100% (normal range)
6Compare with reference oximeterSpO₂ within ±2% of reference
7Test motion artifact rejectionReading stable during minor movement
8Check poor contact detectionSensor flags "poor contact" correctly

Pass Criteria:

  • ✅ HR accuracy within ±5 BPM
  • ✅ SpO₂ accuracy within ±2%
  • ✅ Motion rejection working
  • ✅ Poor contact detected

Test Equipment:

  • Reference pulse oximeter (medical-grade)
  • Test subject (healthy adult)

TC-SNS-005: Environmental Sensors (BME688)

Priority: P1
Category: Sensor Firmware
Requirement Trace: REQ-SW-134, REQ-HW-131
Automation: Semi-automated

Test Procedure:

StepActionExpected ResultPass/Fail
1Initialize BME688 sensorSensor ready in ≤3 seconds
2Read temperatureTemperature 20-25°C (room temp)
3Compare with reference thermometerWithin ±1°C of reference
4Read humidityHumidity 40-60% (typical indoor)
5Compare with reference hygrometerWithin ±3% RH of reference
6Read VOC (gas resistance)Baseline established in 5 minutes
7Introduce VOC source (alcohol wipe)VOC index increases within 30 seconds
8Check data update rateConsistent 1 Hz

Pass Criteria:

  • ✅ Temperature accuracy ±1°C
  • ✅ Humidity accuracy ±3% RH
  • ✅ VOC detection functional
  • ✅ 1 Hz update rate

4. Display System Test Cases

TC-DSP-001: Display Brightness Control

Priority: P0
Category: Display
Requirement Trace: REQ-SW-140, REQ-HW-050
Automation: Semi-automated

Test Procedure:

StepActionExpected ResultPass/Fail
1Set display brightness to 0%Display nearly invisible
2Measure luminance with meterLuminance < 10 nits
3Set brightness to 50%Display clearly visible
4Measure luminanceLuminance 500-700 nits
5Set brightness to 100%Display at maximum brightness
6Measure luminanceLuminance 1100-1300 nits
7Test ALS-driven auto brightnessBrightness adjusts based on ambient light
8Verify smooth transitionsBrightness ramps smoothly, no flicker

Pass Criteria:

  • ✅ Full brightness range 10-1200 nits
  • ✅ ALS auto-adjust working
  • ✅ Smooth transitions, no flicker
  • ✅ Brightness accurate ±10%

Test Equipment:

  • Luminance meter (0-2000 nits range)
  • Controlled lighting environment

TC-DSP-002: Display Latency

Priority: P0
Category: Display
Requirement Trace: REQ-SW-141, FRD-UX-001
Automation: Automated

Test Procedure:

StepActionExpected ResultPass/Fail
1Connect high-speed camera (240 fps)Camera synchronized with test trigger
2Send display update commandTimestamp logged
3Capture moment pixels changeVideo captured at 240 fps
4Calculate latency (command to visible)Latency ≤20ms
5Test rapid updates (30 per second)All updates render correctly
6Check frame pacing consistencyFrame time 16.67ms ±1ms (60 FPS)
7Measure jitter (frame time variation)Jitter < 2ms
8Test during high system loadLatency remains ≤25ms under load

Pass Criteria:

  • ✅ Display latency ≤20ms
  • ✅ Consistent 60 FPS (16.67ms frame time)
  • ✅ Jitter < 2ms
  • ✅ Performance maintained under load

Test Equipment:

  • High-speed camera (≥240 fps)
  • Precision timing equipment
  • System load generator

TC-DSP-003: Eye Safety & Blue Light Reduction

Priority: P0
Category: Display
Requirement Trace: REQ-SW-142, REQ-SAFETY-010
Automation: Manual

Test Procedure:

StepActionExpected ResultPass/Fail
1Enable blue light reduction (night mode)Display tint shifts to warm tones
2Measure color temperatureTemp reduced by 1000-1500K
3Measure blue light spectrum (400-480nm)Blue light reduced by 30-50%
4Test blink reminder systemReminder appears after 20 minutes
5Test 20-20-20 reminder"Look 20 feet away for 20 sec" every 20 min
6Check brightness limiter in darkMax brightness limited to 50% when dark
7Measure flickerNo flicker at any brightness level
8Verify IEC 62471 complianceRadiance < 4 mW/cm²

Pass Criteria:

  • ✅ Blue light reduced 30-50% in night mode
  • ✅ Blink reminders functional
  • ✅ 20-20-20 reminders working
  • ✅ IEC 62471 compliant

Test Equipment:

  • Spectroradiometer
  • Flicker meter

5. Audio Pipeline Test Cases

TC-AUD-001: Bone Conduction Audio Quality

Priority: P0
Category: Audio
Requirement Trace: REQ-SW-150, REQ-HW-090
Automation: Manual

Test Procedure:

StepActionExpected ResultPass/Fail
1Play test tone (1 kHz, -20 dB)Tone clearly audible to test subject
2Measure frequency response (100 Hz - 8 kHz)Response within ±6 dB of target curve
3Test low frequencies (100-300 Hz)Bass present but not overpowering
4Test speech frequencies (300 Hz - 3 kHz)Speech clear and intelligible
5Test high frequencies (3-8 kHz)Sibilance present, no harshness
6Check left/right balanceBalance within ±1 dB
7Test volume range (0-100%)Full range usable, no distortion
8Verify stereo separationStereo field perceptible

Pass Criteria:

  • ✅ Frequency response ±6 dB
  • ✅ Speech intelligibility excellent
  • ✅ L/R balance ±1 dB
  • ✅ No distortion at max volume

Test Equipment:

  • Audio analyzer
  • Test tones (sine, speech samples)
  • Head & torso simulator (HATS)

TC-AUD-002: Microphone Array & Beamforming

Priority: P0
Category: Audio
Requirement Trace: REQ-SW-151, REQ-HW-091
Automation: Semi-automated

Test Procedure:

StepActionExpected ResultPass/Fail
1Place device on HATS in anechoic chamberDevice mounted correctly
2Play speech from front (0°) at 65 dB SPLSpeech recorded clearly
3Measure speech intelligibility (PESQ)PESQ score ≥4.0
4Play noise from sides (±90°) at 65 dB SPLBeamforming attenuates side noise
5Measure noise rejection> 10 dB attenuation at ±90°
6Test in simulated cafe noise (70 dB SPL)Speech still intelligible in recording
7Check wind noise rejection (20 km/h wind)Wind noise < 60 dB SPL in recording
8Verify all 4 mics functionalAll mic channels have signal

Pass Criteria:

  • ✅ PESQ score ≥4.0 (clean audio)
  • ✅ > 10 dB noise rejection at ±90°
  • ✅ Speech intelligible in 70 dB noise
  • ✅ All microphones functional

TC-AUD-003: Audio Latency (Glass-to-Glass)

Priority: P0
Category: Audio
Requirement Trace: REQ-SW-152
Automation: Automated

Test Procedure:

StepActionExpected ResultPass/Fail
1Setup audio loopback (mic to speaker)Loopback configured
2Generate impulse signalSignal sent to speaker
3Capture via microphoneSignal recorded
4Calculate end-to-end latencyLatency ≤50ms
5Test during active AI processingLatency ≤60ms under load
6Check Bluetooth audio latencyBT latency ≤150ms (aptX LL codec)
7Test lip-sync during video playbackNo perceivable lip-sync issues
8Verify latency consistency (100 samples)Standard deviation < 5ms

Pass Criteria:

  • ✅ Glass-to-glass latency ≤50ms
  • ✅ BT latency ≤150ms
  • ✅ No lip-sync issues
  • ✅ Consistent latency ( < 5ms std dev)

6. Power Management Firmware Test Cases

TC-PWR-001: Battery Charging Logic

Priority: P0
Category: Power
Requirement Trace: REQ-SW-160, REQ-HW-070
Automation: Semi-automated

Test Procedure:

StepActionExpected ResultPass/Fail
1Discharge battery to 10%Battery at 10% ±2%
2Connect USB-C charger (5V/1A)Charging begins immediately
3Monitor charging currentCurrent 0.7-1.0A initially
4Check PMIC charging profileCC/CV charging curve followed
5Verify voltage regulationCell voltage 4.2V ±0.05V at full
6Check charge completion detectionCharging stops at 100%
7Measure 10-80% charge timeTime ≤45 minutes
8Verify thermal throttlingCharging slows if temp > 40°C

Pass Criteria:

  • ✅ Charging starts immediately
  • ✅ 10-80% in ≤45 minutes
  • ✅ Voltage regulation ±0.05V
  • ✅ Thermal throttling active

Test Equipment:

  • Power supply (USB-C PD)
  • Electronic load
  • Thermal chamber
  • Data logger

TC-PWR-002: Power Budget & Runtime

Priority: P0
Category: Power
Requirement Trace: REQ-SW-161, REQ-HW-071
Automation: Semi-automated

Test Procedure:

StepActionExpected ResultPass/Fail
1Fully charge deviceBattery at 100%
2Configure typical use scenarioDisplay on, AI idle, sensors active
3Measure average power drawPower 2.5-3.5W
4Run continuous operationDevice runs > 6 hours
5Test heavy AI load scenarioPower increases to 4-5W
6Measure runtime under heavy loadRuntime > 3 hours
7Test low-power modePower reduces to < 1.5W, runtime > 12 hours
8Verify fuel gauge accuracyReported % within ±5% of actual

Pass Criteria:

  • ✅ Runtime > 6 hours (typical use)
  • ✅ Runtime > 3 hours (heavy use)
  • ✅ Low-power mode > 12 hours
  • ✅ Fuel gauge accurate ±5%

TC-PWR-003: Thermal Management & Throttling

Priority: P0
Category: Power
Requirement Trace: REQ-SW-162, REQ-HW-072
Automation: Semi-automated

Test Procedure:

StepActionExpected ResultPass/Fail
1Run AI stress test (continuous inference)CPU/GPU load at maximum
2Monitor CPU temperatureTemp rises gradually
3Check throttling threshold (42°C)Throttling begins at 42°C ±1°C
4Verify clock speed reductionCPU clocks reduce by 10-20%
5Continue load, check 45°C thresholdFurther throttling at 45°C
6Check emergency shutdown (50°C)System shuts down at 50°C ±1°C
7Test thermal recoveryDevice cools to < 40°C in 5 minutes
8Verify skin temperatureSurface temp < 38°C during operation

Pass Criteria:

  • ✅ Throttling at correct temps (42°C, 45°C)
  • ✅ Emergency shutdown at 50°C
  • ✅ Surface temp < 38°C
  • ✅ Thermal recovery < 5 minutes

Test Equipment:

  • Thermal camera
  • Thermocouples (CPU, battery, surface)
  • Thermal chamber

7. Connectivity Test Cases

TC-CONN-001: Bluetooth LE Pairing & Connection

Priority: P0
Category: Connectivity
Requirement Trace: REQ-SW-170, REQ-HW-100
Automation: Semi-automated

Test Procedure:

StepActionExpected ResultPass/Fail
1Enable BT on device and phoneBT services active
2Initiate pairing from phone appDevice appears in scan list within 5 sec
3Confirm pairing on devicePairing completes in < 10 seconds
4Verify secure pairing (encryption)Connection encrypted (AES-128)
5Test connection stabilityConnection maintained for 30 minutes
6Measure RSSI at 1m distanceRSSI -50 to -60 dBm
7Test max range (line of sight)Connection stable at > 10m
8Verify auto-reconnect after disconnectReconnects within 5 seconds

Pass Criteria:

  • ✅ Pairing completes in < 10 sec
  • ✅ Connection encrypted
  • ✅ Stable at > 10m range
  • ✅ Auto-reconnect < 5 sec

TC-CONN-002: Wi-Fi Connection & Throughput

Priority: P0
Category: Connectivity
Requirement Trace: REQ-SW-171, REQ-HW-101
Automation: Semi-automated

Test Procedure:

StepActionExpected ResultPass/Fail
1Scan for Wi-Fi networksNetwork list populated in < 5 sec
2Connect to test AP (WPA2)Connection established in < 10 sec
3Verify IP address assignment (DHCP)Valid IP received
4Test TCP throughput (iperf)Throughput > 50 Mbps (2.4 GHz)
5Test UDP throughputThroughput > 80 Mbps
6Check 5 GHz band (Wi-Fi 6)Throughput > 150 Mbps
7Measure latency (ping)Latency < 10ms to local AP
8Test roaming between APsRoam completes in < 2 seconds

Pass Criteria:

  • ✅ Connection < 10 seconds
  • ✅ Throughput > 50 Mbps (2.4 GHz)
  • ✅ Throughput > 150 Mbps (5 GHz)
  • ✅ Latency < 10ms

Test Equipment:

  • iperf server
  • Wi-Fi APs (2.4 & 5 GHz)
  • Packet analyzer

TC-CONN-003: Cloud API Communication

Priority: P1
Category: Connectivity
Requirement Trace: REQ-SW-172
Automation: Automated

Test Procedure:

StepActionExpected ResultPass/Fail
1Initiate cloud API connectionTLS 1.3 connection established
2Verify device authenticationJWT token validated successfully
3Send test API request (GET /status)Response received in < 500ms
4Check response formatValid JSON, correct schema
5Test large data upload (5 MB file)Upload completes without errors
6Test rate limitingRequests throttled after limit
7Verify encryption (packet capture)All data encrypted, no plaintext
8Test connection recoveryReconnects after network disruption

Pass Criteria:

  • ✅ TLS 1.3 connection secure
  • ✅ API response < 500ms
  • ✅ Data upload successful
  • ✅ Auto-reconnect working

8. Security & Privacy Test Cases

TC-SEC-001: Data Encryption at Rest

Priority: P0
Category: Security
Requirement Trace: REQ-SW-180, REQ-SECURITY-001
Automation: Semi-automated

Test Procedure:

StepActionExpected ResultPass/Fail
1Create test file in /data/user/File created successfully
2Write sensitive data (test credentials)Data written to file
3Extract flash image via debug portFlash image extracted
4Attempt to read file from raw imageFile data unreadable (encrypted)
5Boot device, read file normallyFile readable via OS with key
6Verify AES-256 encryptionEncryption algorithm confirmed
7Check key storage locationKey in secure enclave, not in flash
8Test key derivationUnique key per device

Pass Criteria:

  • ✅ Data unreadable without device key
  • ✅ AES-256 encryption verified
  • ✅ Key in secure enclave
  • ✅ Unique key per device

TC-SEC-002: Permission System

Priority: P0
Category: Security
Requirement Trace: REQ-SW-181
Automation: Manual

Test Procedure:

StepActionExpected ResultPass/Fail
1Install test skill requiring camera accessSkill installed
2Launch skillPermission prompt appears
3Deny camera permissionSkill cannot access camera
4Grant camera permissionSkill can access camera
5Revoke permission via settingsPermission removed
6Skill attempts camera accessAccess denied, error logged
7Test sensitive permission (location)Requires explicit user confirmation
8Check permission audit logAll permission changes logged

Pass Criteria:

  • ✅ Permission prompts appear correctly
  • ✅ Denied permissions enforced
  • ✅ Permission changes logged
  • ✅ Sensitive permissions require confirmation

TC-SEC-003: Privacy Modes

Priority: P0
Category: Security
Requirement Trace: REQ-SW-182, FRD-PRIVACY-001
Automation: Manual

Test Procedure:

StepActionExpected ResultPass/Fail
1Enable "Deep Private" modeMode activated, UI confirms
2Verify camera disabledCamera LED off, no capture possible
3Verify mic disabledMic hardware disabled via switch
4Check AI loggingNo conversation logs created
5Test guest modeGuest cannot access user memories
6Check biometric lockDevice locks when removed from user
7Verify recording indicatorLED always on during recording
8Test enterprise compliance modeAll activity logged per policy

Pass Criteria:

  • ✅ Deep Private mode disables sensors
  • ✅ No logs created in private mode
  • ✅ Guest mode isolates data
  • ✅ Recording LED always functional

9. OTA Update Test Cases

TC-OTA-001: OTA Update Download & Install

Priority: P0
Category: Updates
Requirement Trace: REQ-SW-190
Automation: Semi-automated

Test Procedure:

StepActionExpected ResultPass/Fail
1Configure test update serverServer hosting test OTA package
2Trigger update check on deviceUpdate detected within 10 seconds
3Verify update metadataVersion, size, checksum displayed
4Initiate downloadDownload begins, progress shown
5Monitor download speedSpeed > 1 MB/s on Wi-Fi
6Verify download integrity (SHA256)Checksum matches expected value
7Install updateInstallation begins, device reboots
8Verify new version runningVersion updated correctly

Pass Criteria:

  • ✅ Update detected correctly
  • ✅ Download completes successfully
  • ✅ Checksum verified
  • ✅ New version boots correctly

TC-OTA-002: OTA Rollback Mechanism

Priority: P0
Category: Updates
Requirement Trace: REQ-SW-191
Automation: Manual

Test Procedure:

StepActionExpected ResultPass/Fail
1Note current firmware versionVersion recorded
2Install test update (known bad)Update installs, device reboots
3Simulate boot failureNew firmware fails to boot
4Verify automatic rollbackDevice boots to previous version
5Check rollback timeRollback completes in < 2 minutes
6Verify user data intactAll user files still present
7Check rollback notificationUser notified of rollback reason
8Test manual rollback via settingsUser can trigger rollback manually

Pass Criteria:

  • ✅ Auto-rollback on boot failure
  • ✅ Rollback completes in < 2 min
  • ✅ User data preserved
  • ✅ Manual rollback works

10. Performance & Stability Test Cases

TC-PERF-001: Memory Management

Priority: P0
Category: Performance
Requirement Trace: REQ-SW-200
Automation: Automated

Test Procedure:

StepActionExpected ResultPass/Fail
1Cold boot deviceBoot to ready state
2Measure baseline memory usageRAM usage < 1.5 GB at idle
3Load 8B LLM modelRAM usage increases by ~5 GB
4Run inference (10 queries)Memory stable, no leaks
5Close AI runtimeMemory returns to near baseline
6Open 10 apps/skills sequentiallyNo app killed by OOM
7Check memory fragmentationFragmentation < 20%
8Monitor for 12 hoursNo memory leaks detected

Pass Criteria:

  • ✅ Idle RAM < 1.5 GB
  • ✅ No memory leaks over 12 hours
  • ✅ No OOM kills
  • ✅ Fragmentation < 20%

Test Data:

  • Memory usage logs (every 5 min)
  • Leak detection tool output

TC-PERF-002: CPU/GPU Performance

Priority: P1
Category: Performance
Requirement Trace: REQ-SW-201
Automation: Semi-automated

Test Procedure:

StepActionExpected ResultPass/Fail
1Run CPU benchmark (Geekbench)Single-core score > 1000
2Run multi-core benchmarkMulti-core score > 3000
3Run GPU benchmark (GFXBench)Score within spec range
4Check thermal throttlingThrottling < 10% during benchmark
5Test sustained performance (30 min)Performance stable over time
6Measure AI inference throughput> 30 tokens/sec (3B model)
7Check power efficiencyPerformance/watt ratio meets target
8Verify no performance degradationRepeat tests match initial scores

Pass Criteria:

  • ✅ Benchmark scores within spec
  • ✅ Sustained performance stable
  • ✅ Throttling minimal ( < 10%)
  • ✅ AI inference > 30 tokens/sec

TC-PERF-003: Long-Term Stability (Soak Test)

Priority: P1
Category: Stability
Requirement Trace: REQ-SW-202
Automation: Automated

Test Procedure:

StepActionExpected ResultPass/Fail
1Configure continuous operation testTest script prepared
2Run for 72 hours continuouslyDevice remains operational
3Execute AI queries every 5 minutesAll queries complete successfully
4Cycle through all major featuresNo feature failures
5Monitor system logsNo critical errors logged
6Check resource leaksMemory/CPU stable over time
7Verify thermal stabilityTemps remain within operating range
8Power cycle deviceDevice boots normally

Pass Criteria:

  • ✅ No crashes over 72 hours
  • ✅ All features functional
  • ✅ No resource leaks
  • ✅ Thermal stability maintained

Test Duration: 72 hours minimum


Appendix A: Test Environment Setup

Hardware Requirements

  • GROOT FORCE devices (all variants)
  • Test phones (Android & iOS)
  • Precision measurement equipment:
    • Multimeter
    • Oscilloscope
    • Thermal camera
    • Luminance meter
    • Audio analyzer
    • Network analyzer

Software Requirements

  • ADB tools
  • Test automation framework
  • Data logging software
  • Analysis tools (Python scripts)
  • CI/CD integration

Network Requirements

  • Test Wi-Fi APs (2.4 & 5 GHz)
  • Controlled network environment
  • Backend test server
  • Packet capture tools

Appendix B: Test Data Collection

All test executions must log:

  • Test ID
  • Execution timestamp
  • Firmware version
  • Hardware variant
  • Pass/Fail result
  • Measurement data
  • Logs and screenshots
  • Defect IDs (if failed)

Data Storage:

  • Test results database
  • Log archive (30 day retention)
  • Defect tracking system

Appendix C: Pass/Fail Criteria Summary

CategoryTotal TestsP0 CriticalP1 HighP2 Medium
KLYRA OS5410
AI Runtime6420
Sensor Firmware5320
Display System3300
Audio Pipeline3300
Power Management3300
Connectivity3210
Security & Privacy3300
OTA Updates2200
Performance3120
TOTAL4528100

Document Approval

Reviewed by:

  • QA Lead: _________________ Date: _______
  • Software Architect: _________________ Date: _______
  • Firmware Lead: _________________ Date: _______
  • AI/ML Lead: _________________ Date: _______
  • Security Lead: _________________ Date: _______

END OF SOFTWARE & FIRMWARE TEST CASES

This document provides comprehensive test procedures for validating all software and firmware aspects of GROOT FORCE. Each test case is designed to be executed by QA engineers and provides clear pass/fail criteria for go/no-go decisions.