TotalAP - Artifact Power Tracker

TotalAP - Artifact Power Tracker

104k Downloads

Add unit tests for Controllers

rdw-software opened this issue ยท 0 comments

commented

While they aren't particularly error-prone, refactoring them and adding new commands/keybinds has broken them in the future. That's why they should have some basic tests, to make sure the unchanged parts are still working as intended.

Roadmap:

  • Key bindings (Controllers\KeybindHandler.lua) - this is fairly trivial
  • GUI interaction (Controllers\GUI.lua) - this needs some refactoring and will include more functionality that is currently distributed randomly all over the addon
  • Slash commands (Controllers\SlashCommands,lua) - this is usually the one that breaks
  • Event handling and AceEvent-3.0 interaction (Controllers\EventHandlers.lua) - this works fine but may be changed somewhat frequently