Releases: ElementUser/HoN-Patch-Notes-Game-Bot
Releases · ElementUser/HoN-Patch-Notes-Game-Bot
Version 0.2.2 Release
- 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
toconfig/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
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
Version 0.2.0 Release
Stable Release (production-ready).
Version 0.1.0 Release
Version 0.1.0 Release
Stable release (production-ready, with minimal errors).