https://github.com/CraftSpider/dpytest
A package that assists in writing tests for discord.py
https://github.com/CraftSpider/dpytest
Last synced: 5 months ago
JSON representation
A package that assists in writing tests for discord.py
- Host: GitHub
- URL: https://github.com/CraftSpider/dpytest
- Owner: CraftSpider
- License: mit
- Created: 2018-12-12T00:17:56.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-06-27T09:23:58.000Z (over 2 years ago)
- Last Synced: 2024-12-08T04:12:21.446Z (about 1 year ago)
- Language: Python
- Size: 349 KB
- Stars: 103
- Watchers: 9
- Forks: 24
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE
Awesome Lists containing this project
- awesome-discordpy - CraftSpider/dpytest - A package that assists in writing tests for discord.py. (Libraries and Extensions / Testing and Debugging)
README
# dpytest
[](https://github.com/CraftSpider/dpytest/actions/workflows/test-ci.yml)
[](https://github.com/CraftSpider/dpytest/actions/workflows/lint-ci.yml)
[](https://dpytest.readthedocs.io/en/latest/?badge=latest)
[](https://discord.gg/aNe8DqAuxd)
This is a package to allow testing of discord.py.
It is only compatible with the rewrite version, and is still in alpha.
If using pytest, it is suggested to use pytest-asyncio for test running, otherwise the user will need
to provide their own async test runner.
## Notice
For discord.py 1.7.X, use `dpytest 0.5.3`
For discord.py 2.X.X, use `dpytest>=0.6`
## Documentation
Documentation can be found at [dpytest.readthedocs.io](https://dpytest.readthedocs.io/en/latest/), including examples and tutorials