https://github.com/nonebot/nonebug
NoneBot2 测试框架 / NoneBot2 test framework
https://github.com/nonebot/nonebug
nonebot2 pytest pytest-plugin
Last synced: 10 months ago
JSON representation
NoneBot2 测试框架 / NoneBot2 test framework
- Host: GitHub
- URL: https://github.com/nonebot/nonebug
- Owner: nonebot
- License: mit
- Created: 2021-08-06T22:40:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-03-04T14:21:25.000Z (12 months ago)
- Last Synced: 2025-04-02T08:07:55.579Z (11 months ago)
- Topics: nonebot2, pytest, pytest-plugin
- Language: Python
- Homepage: https://nonebot.dev/docs/best-practice/testing/
- Size: 540 KB
- Stars: 28
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NoneBug
_✨ NoneBot2 测试框架 ✨_
## 安装
本工具为 [pytest](https://docs.pytest.org/en/stable/) 插件,需要配合 pytest 异步插件使用。
```bash
poetry add nonebug pytest-asyncio -G test
# 或者使用 anyio
poetry add nonebug anyio -G test
```
```bash
pdm add nonebug pytest-asyncio -dG test
# 或者使用 anyio
pdm add nonebug anyio -dG test
```
```bash
pip install nonebug pytest-asyncio
# 或者使用 anyio
pip install nonebug anyio
```
