Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit testing #2

Open
douglascdev opened this issue Sep 7, 2021 · 0 comments
Open

Add unit testing #2

douglascdev opened this issue Sep 7, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@douglascdev
Copy link
Owner

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).
@douglascdev douglascdev added the enhancement New feature or request label Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant