Skip to content

Player Sound Effects Testing Plan

racheljadel edited this page Oct 19, 2023 · 7 revisions

Introduction

Sound effects helps to make the game more juicy by adding joyous and thrilling sounds for instance, when player start walking in game, then appropriate audio should come more or like the player really walking on a grass. Similarly, when player dodge to prevent enemy attack, then dodge audio should play as to make the more more realistic. Same goes with weapon attack and many other type of action.

Test Plan for KeyboardPlayerInputComponent

**Objectives:- **

To validate whether the sound effects triggering in function for player's action(Walk, Dodge).

Methodology

Test- testTriggerWalkEvent

**Steps - **

  1. Instance for KeyboardPlayerInputComponent.
  2. Mocking an 'Entity' object named 'WalkEvent' for testing purposes
  3. Setting the 'WalkEvent' as the entity for sound events.
  4. Mocking the event handling for the 'WalkEvent' entity.
  5. Testing the whole trigger Walk Event to test Player's Walk Sound

Test- testTriggerDodgeEvent

**Steps - **

  1. Instance for KeyboardPlayerInputComponent
  2. Setting the 'DodgeEvent' as the entity for sound events.
  3. Setting the 'DodgeEvent' as the entity for sound events.
  4. Mocking the event handling for the 'DodgeEvent' entity.
  5. Testing the whole trigger Dodge Event to test Player's dodge Sound.

Test Plan for UpgradeTree

**Objectives:- **

To validate whether the sound effects triggering in function for upgrading weapons.

Test - testUnlockWeapon

**Steps- **

  1. Check a weapon is locked, unlock it, then check its unlocked
  2. Instance for UpgradeTree.
  3. Setting the 'unlockWeaponSound' as the entity for sound events. 4, Mocking the event handling for the 'unlockWeaponSound' entity.
  4. Testing the whole trigger unlockWeaponEvent to test Player's dodge Sound.

Video Clips for Testing Sound Effects

Player's Walking Sound Testing

This video provides manual testing of the player's walking sound effects.

Player's Dodge Sound Testing

This video provides manual testing of the player's dodging sound effects.

Upgrade Tree Button Sound Effects

This video provides manual testing of the upgrade tree buttons' sound effects.

Player's Weapon Upgrade Sound Testing

This video provides manual testing of the player's weapon upgrade sound effect.

UpgradeTree close Button Sound Effects

This video provides manual testing of the sound effect made when closing the Upgrade Tree.

Weapon's Functionality Sound Effects

These videos (Part 1 and Part 2) provide visual and audio testing of the sound effects for the ranged and melee weapons.

Structure Placing Sound Effects

This video provides manual testing for the sound effects of placing structures.

Clone this wiki locally