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

test: minor improvements to test #162

Draft
wants to merge 18 commits into
base: master
Choose a base branch
from
Draft

Conversation

TAG-Epic
Copy link
Member

@TAG-Epic TAG-Epic commented Jan 6, 2023

  • Lint tests (this will cause a few typing issues which will need to be fixed)
  • Improve coverage

Not sure if trying to get a high coverage is worth it, especially with some pretty bad tests.

TODOS:

  • Decompressor tests
  • Fix pyright not detecting unused parameters
  • shard tests
  • shard manager tests
  • make tests more reliable (might fail during higher CPU usage)
  • Fix Bucket doesnt release request if there is only one request pending. #163 (currently breaking a test)
  • Split decompressor tests
  • Testing directly against discord
  • Use a version of pytest-harmony from pypi
  • Redo pytest-harmony to be dependency based

- Lint tests (this will cause a few typing issues which will need to be
  fixed)
- Improve coverage

Not sure if trying to get a high coverage is worth it, especially with
some pretty bad tests.
@TAG-Epic TAG-Epic added the type/tests Improve tests label Jan 6, 2023
@TAG-Epic
Copy link
Member Author

TAG-Epic commented Jan 6, 2023

Currently using codecov to check how im doing on tests, unfortunately it has some issues with TYPE_CHECKING imports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/tests Improve tests
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

Bucket doesnt release request if there is only one request pending.
1 participant