{"id":20390240,"url":"https://github.com/nonebot/nonebug","last_synced_at":"2026-04-02T20:58:54.430Z","repository":{"id":62577768,"uuid":"393520361","full_name":"nonebot/nonebug","owner":"nonebot","description":"NoneBot2 测试框架 / NoneBot2 test framework","archived":false,"fork":false,"pushed_at":"2025-03-04T14:21:25.000Z","size":553,"stargazers_count":28,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T08:07:55.579Z","etag":null,"topics":["nonebot2","pytest","pytest-plugin"],"latest_commit_sha":null,"homepage":"https://nonebot.dev/docs/best-practice/testing/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nonebot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"open_collective":"nonebot","custom":["https://afdian.com/@nonebot"]}},"created_at":"2021-08-06T22:40:33.000Z","updated_at":"2025-03-04T14:21:25.000Z","dependencies_parsed_at":"2023-10-16T04:21:58.556Z","dependency_job_id":"11b7c078-33f3-4252-8ec9-1d1d41a984a2","html_url":"https://github.com/nonebot/nonebug","commit_stats":{"total_commits":124,"total_committers":6,"mean_commits":"20.666666666666668","dds":0.5161290322580645,"last_synced_commit":"c9d5f4c8ae5b6e9a810936a006b11737101818c1"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonebot%2Fnonebug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonebot%2Fnonebug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonebot%2Fnonebug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonebot%2Fnonebug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nonebot","download_url":"https://codeload.github.com/nonebot/nonebug/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247847611,"owners_count":21006100,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nonebot2","pytest","pytest-plugin"],"created_at":"2024-11-15T03:23:44.644Z","updated_at":"2026-04-02T20:58:54.426Z","avatar_url":"https://github.com/nonebot.png","language":"Python","funding_links":["https://opencollective.com/nonebot","https://afdian.com/@nonebot"],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable MD033 MD041 --\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://nonebot.dev/\"\u003e\u003cimg src=\"https://github.com/nonebot/nonebug/raw/master/assets/logo.png\" width=\"200\" height=\"200\" alt=\"nonebot\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n# NoneBug\n\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable-next-line MD036 --\u003e\n_✨ NoneBot2 测试框架 ✨_\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://raw.githubusercontent.com/nonebot/nonebug/master/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/nonebot/nonebug\" alt=\"license\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://pypi.python.org/pypi/nonebug\"\u003e\n    \u003cimg src=\"https://img.shields.io/pypi/v/nonebug\" alt=\"pypi\"\u003e\n  \u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/python-3.9+-blue\" alt=\"python\"\u003e\n  \u003ca href=\"https://codecov.io/gh/nonebot/nonebug\"\u003e\n    \u003cimg src=\"https://codecov.io/gh/nonebot/nonebug/branch/master/graph/badge.svg?token=LDK2OFR231\"/\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n  \u003ca href=\"https://jq.qq.com/?_wv=1027\u0026k=5OFifDh\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/qq%E7%BE%A4-768887710-orange?style=flat-square\" alt=\"QQ Chat\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://t.me/botuniverse\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/telegram-botuniverse-blue?style=flat-square\" alt=\"Telegram Channel\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://discord.gg/VKtE6Gdc4h\"\u003e\n    \u003cimg src=\"https://discordapp.com/api/guilds/847819937858584596/widget.png?style=shield\" alt=\"Discord Server\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://nonebot.dev/docs/best-practice/testing/\"\u003e文档\u003c/a\u003e\n\u003c/p\u003e\n\n## 安装\n\n本工具为 [pytest](https://docs.pytest.org/en/stable/) 插件，需要配合 pytest 异步插件使用。\n\n```bash\nuv add nonebug pytest-asyncio --group test\n# 或者使用 anyio\nuv add nonebug anyio --group test\n```\n\n```bash\npoetry add nonebug pytest-asyncio -G test\n# 或者使用 anyio\npoetry add nonebug anyio -G test\n```\n\n```bash\npdm add nonebug pytest-asyncio -dG test\n# 或者使用 anyio\npdm add nonebug anyio -dG test\n```\n\n```bash\npip install nonebug pytest-asyncio\n# 或者使用 anyio\npip install nonebug anyio\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnonebot%2Fnonebug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnonebot%2Fnonebug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnonebot%2Fnonebug/lists"}