UQdeco2800 / 2022-studio-2

MIT License
5 stars 1 forks source link

JUNIT Testing for CombatItems #258

Closed madifeddema closed 2 years ago

madifeddema commented 2 years ago

Description

Task: JUNIT Testing for CombatItems Feature: [FEATURE] Animation and Combat Items Optimisation #248

This task is about ensuring the code we have implemented into the game has appropriate tests associated with the functionality. Code coverage is specifically important tot he game to ensure there is minimal bugs and that the code is operating as expected. Testing the code for potential invalid input handing as well to minimise the risk of the game crashing. Furthermore to ensure the code is running as efficiently as possible to create a good user experience.

Dependencies

There is one main dependency for completing this task:

Milestones

List of steps that need to be completed for this task.

Completion Deadline: Oct. 16

Documentation

Member

LachlanBenson commented 2 years ago

@madifeddema as requested, list of testable classes

AnimatedImage AreaOfEffectStatsComponent AuraPickupComponent BuffDisplayComponent PhysicalWeaponStatsComponent WeaponArrowProjectileComponent WeaponAuraComponent WeaponAuraManager WeaponStatsComponent PlayerTouchAttackComponent PlayerCombatAnimationController CombatStatsComponent AuraConfig BaseAuraConfig WeaponConfig WeaponConfigSetup WeaponFactory some in InventoryComponent

madifeddema commented 2 years ago

Animation controller class is tested and testing plan created for the final tests, need to confirm those, but will be done shortly