douglascdev / douglascdev/pypixelart
Add unit testing
Open
enhancement
- Dominant language
- Python
- Stars
- 23
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
The package currently relies completely on manual testing. Start using mocked tests:
- Mock `pygame` calls.
- If needed/desired, refactor any parts of the code that are unnecessarily coupled to make testing easier.
- Test the functions in the `utils.py` module.
- Test the methods in the `PyPixelArt` class, except `run_loop`(I don't think it's all that necessary to test it since it pretty much only calls `PyPixelArt` methods to work).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.