Skip to content

Releases: ElementUser/HoN-Patch-Notes-Game-Bot

Version 0.2.2 Release

11 May 13:14
077e30e
Compare
Choose a tag to compare
  • Performed a large code structure refactor for massively improved unit testing coverage.
  • Unit testing coverage increased from ~40% to 87%.
  • Fixed a few minor edge cases that unit testing has found while performing the refactor.

Unit Testing details

  • Mocks are now used where appropriate to "mimic" outputs from the Reddit API (via PRAW).
  • Fixtures are now used for some repetitive setup/teardown operations (particularly with the database)
  • Fixtures can now be imported from conftest.py
  • Database state is now properly preserved between test runs

Other minor details for changes

  • VSCode settings.json file has been updated for the Python Testing Framework VSCode plugin
  • All constants were moved from main.py to config/config.py
  • main.py now has considerably less logic in it (it only contains instantiation logic)
  • core.py now processes most of the game rule logic, broken down into different functions for testability purposes.

Version 0.2.1 Release

03 May 21:45
4342ef2
Compare
Choose a tag to compare

Version 0.2.1 Release

  • Implemented mypy (static type checking) in code base and CI process
  • Performed a refactor of all the necessary files
  • Fixed some edge case bugs (thanks to the static type checking)
  • Also updated dependencies and updated config files
  • Updated test files. Even if blank, they still increase test coverage.

Version 0.2.0 Release

03 May 21:45
Compare
Choose a tag to compare

Version 0.2.0 Release

Stable Release (production-ready).

Version 0.1.0 Release

03 May 21:37
Compare
Choose a tag to compare

Version 0.1.0 Release

Stable release (production-ready, with minimal errors).