nonebug


Namenonebug JSON
Version 0.3.7 PyPI version JSON
download
home_pagehttps://nonebot.dev/
Summarynonebot2 test framework
upload_time2024-04-15 13:38:59
maintainerNone
docs_urlNone
authorAkiraXie
requires_python<4.0,>=3.8
licenseMIT
keywords nonebot pytest test bot onebot cqhttp
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- markdownlint-disable MD033 MD041 -->

<p align="center">
  <a href="https://nonebot.dev/"><img src="https://github.com/nonebot/nonebug/raw/master/assets/logo.png" width="200" height="200" alt="nonebot"></a>
</p>

<div align="center">

# NoneBug

<!-- prettier-ignore-start -->
<!-- markdownlint-disable-next-line MD036 -->
_✨ NoneBot2 测试框架 ✨_
<!-- prettier-ignore-end -->

</div>

<p align="center">
  <a href="https://raw.githubusercontent.com/nonebot/nonebug/master/LICENSE">
    <img src="https://img.shields.io/github/license/nonebot/nonebug" alt="license">
  </a>
  <a href="https://pypi.python.org/pypi/nonebug">
    <img src="https://img.shields.io/pypi/v/nonebug" alt="pypi">
  </a>
  <img src="https://img.shields.io/badge/python-3.8+-blue" alt="python">
  <a href="https://codecov.io/gh/nonebot/nonebug">
    <img src="https://codecov.io/gh/nonebot/nonebug/branch/master/graph/badge.svg?token=LDK2OFR231"/>
  </a>
  <br />
  <a href="https://jq.qq.com/?_wv=1027&k=5OFifDh">
    <img src="https://img.shields.io/badge/qq%E7%BE%A4-768887710-orange?style=flat-square" alt="QQ Chat">
  </a>
  <a href="https://t.me/botuniverse">
    <img src="https://img.shields.io/badge/telegram-botuniverse-blue?style=flat-square" alt="Telegram Channel">
  </a>
  <a href="https://discord.gg/VKtE6Gdc4h">
    <img src="https://discordapp.com/api/guilds/847819937858584596/widget.png?style=shield" alt="Discord Server">
  </a>
</p>

<p align="center">
  <a href="https://nonebot.dev/docs/best-practice/testing/">文档</a>
</p>

## 安装

本工具为 [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
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://nonebot.dev/",
    "name": "nonebug",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": null,
    "keywords": "nonebot, pytest, test, bot, onebot, cqhttp",
    "author": "AkiraXie",
    "author_email": "l997460364@outlook.com",
    "download_url": "https://files.pythonhosted.org/packages/eb/db/8169185d55bfbdfcc4c5757de2829aa8998c4ebd2ccb9c0a93194ae19c3b/nonebug-0.3.7.tar.gz",
    "platform": null,
    "description": "<!-- markdownlint-disable MD033 MD041 -->\n\n<p align=\"center\">\n  <a href=\"https://nonebot.dev/\"><img src=\"https://github.com/nonebot/nonebug/raw/master/assets/logo.png\" width=\"200\" height=\"200\" alt=\"nonebot\"></a>\n</p>\n\n<div align=\"center\">\n\n# NoneBug\n\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable-next-line MD036 -->\n_\u2728 NoneBot2 \u6d4b\u8bd5\u6846\u67b6 \u2728_\n<!-- prettier-ignore-end -->\n\n</div>\n\n<p align=\"center\">\n  <a href=\"https://raw.githubusercontent.com/nonebot/nonebug/master/LICENSE\">\n    <img src=\"https://img.shields.io/github/license/nonebot/nonebug\" alt=\"license\">\n  </a>\n  <a href=\"https://pypi.python.org/pypi/nonebug\">\n    <img src=\"https://img.shields.io/pypi/v/nonebug\" alt=\"pypi\">\n  </a>\n  <img src=\"https://img.shields.io/badge/python-3.8+-blue\" alt=\"python\">\n  <a href=\"https://codecov.io/gh/nonebot/nonebug\">\n    <img src=\"https://codecov.io/gh/nonebot/nonebug/branch/master/graph/badge.svg?token=LDK2OFR231\"/>\n  </a>\n  <br />\n  <a href=\"https://jq.qq.com/?_wv=1027&k=5OFifDh\">\n    <img src=\"https://img.shields.io/badge/qq%E7%BE%A4-768887710-orange?style=flat-square\" alt=\"QQ Chat\">\n  </a>\n  <a href=\"https://t.me/botuniverse\">\n    <img src=\"https://img.shields.io/badge/telegram-botuniverse-blue?style=flat-square\" alt=\"Telegram Channel\">\n  </a>\n  <a href=\"https://discord.gg/VKtE6Gdc4h\">\n    <img src=\"https://discordapp.com/api/guilds/847819937858584596/widget.png?style=shield\" alt=\"Discord Server\">\n  </a>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://nonebot.dev/docs/best-practice/testing/\">\u6587\u6863</a>\n</p>\n\n## \u5b89\u88c5\n\n\u672c\u5de5\u5177\u4e3a [pytest](https://docs.pytest.org/en/stable/) \u63d2\u4ef6\uff0c\u9700\u8981\u914d\u5408 pytest \u5f02\u6b65\u63d2\u4ef6\u4f7f\u7528\u3002\n\n```bash\npoetry add nonebug pytest-asyncio -G test\n# \u6216\u8005\u4f7f\u7528 anyio\npoetry add nonebug anyio -G test\n```\n\n```bash\npdm add nonebug pytest-asyncio -dG test\n# \u6216\u8005\u4f7f\u7528 anyio\npdm add nonebug anyio -dG test\n```\n\n```bash\npip install nonebug pytest-asyncio\n# \u6216\u8005\u4f7f\u7528 anyio\npip install nonebug anyio\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "nonebot2 test framework",
    "version": "0.3.7",
    "project_urls": {
        "Documentation": "https://nonebot.dev/",
        "Homepage": "https://nonebot.dev/",
        "Repository": "https://github.com/nonebot/nonebug"
    },
    "split_keywords": [
        "nonebot",
        " pytest",
        " test",
        " bot",
        " onebot",
        " cqhttp"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5929b5d7e9586ece90a86a370f689e01eb37a5b8cf723b3ccb51a73daf35625f",
                "md5": "b5d3c04e88abc33a0504bce90d285d0a",
                "sha256": "c39f462aafe20660602a8b789a575db6c9346ab5b6f1985eb9d98b861528299a"
            },
            "downloads": -1,
            "filename": "nonebug-0.3.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b5d3c04e88abc33a0504bce90d285d0a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 14396,
            "upload_time": "2024-04-15T13:38:58",
            "upload_time_iso_8601": "2024-04-15T13:38:58.434706Z",
            "url": "https://files.pythonhosted.org/packages/59/29/b5d7e9586ece90a86a370f689e01eb37a5b8cf723b3ccb51a73daf35625f/nonebug-0.3.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ebdb8169185d55bfbdfcc4c5757de2829aa8998c4ebd2ccb9c0a93194ae19c3b",
                "md5": "c0061ec551ead399377194b8c8800ae4",
                "sha256": "8a75183400681f34eafc7caa2bb6dd511c3b5660c59264f1c379a088c7ac2247"
            },
            "downloads": -1,
            "filename": "nonebug-0.3.7.tar.gz",
            "has_sig": false,
            "md5_digest": "c0061ec551ead399377194b8c8800ae4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 11225,
            "upload_time": "2024-04-15T13:38:59",
            "upload_time_iso_8601": "2024-04-15T13:38:59.650048Z",
            "url": "https://files.pythonhosted.org/packages/eb/db/8169185d55bfbdfcc4c5757de2829aa8998c4ebd2ccb9c0a93194ae19c3b/nonebug-0.3.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-15 13:38:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "nonebot",
    "github_project": "nonebug",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nonebug"
}
        
Elapsed time: 0.23005s