nonebug


Namenonebug JSON
Version 0.4.1 PyPI version JSON
download
home_pagehttps://nonebot.dev/
Summarynonebot2 test framework
upload_time2024-10-19 11:52:34
maintainerNone
docs_urlNone
authorAkiraXie
requires_python<4.0,>=3.9
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.9+-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.9",
    "maintainer_email": null,
    "keywords": "nonebot, pytest, test, bot, onebot, cqhttp",
    "author": "AkiraXie",
    "author_email": "l997460364@outlook.com",
    "download_url": "https://files.pythonhosted.org/packages/d1/57/4300262bbf6f8b7b69a75e8d827a32b1503fe9322210440ad785fd6bf3d0/nonebug-0.4.1.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.9+-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.4.1",
    "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": "cee0e8d6e0db6cbff3edbb034284bd9451e9e380dde6c580fd22f1d6c2a91687",
                "md5": "4111fb494833be5e5d34ad9f326584aa",
                "sha256": "553bfc408337fb33a19fcc936e24f4cc43200e4550a828f21e7f4406e93b62db"
            },
            "downloads": -1,
            "filename": "nonebug-0.4.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4111fb494833be5e5d34ad9f326584aa",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 14659,
            "upload_time": "2024-10-19T11:52:33",
            "upload_time_iso_8601": "2024-10-19T11:52:33.248232Z",
            "url": "https://files.pythonhosted.org/packages/ce/e0/e8d6e0db6cbff3edbb034284bd9451e9e380dde6c580fd22f1d6c2a91687/nonebug-0.4.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d1574300262bbf6f8b7b69a75e8d827a32b1503fe9322210440ad785fd6bf3d0",
                "md5": "ed0d48ad2ff3fa7df564011ee7963a49",
                "sha256": "1bb96d715ec415351f2c7b871a86c64fdba533fb1a105e9a01cc1e250d37d52b"
            },
            "downloads": -1,
            "filename": "nonebug-0.4.1.tar.gz",
            "has_sig": false,
            "md5_digest": "ed0d48ad2ff3fa7df564011ee7963a49",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 11789,
            "upload_time": "2024-10-19T11:52:34",
            "upload_time_iso_8601": "2024-10-19T11:52:34.564314Z",
            "url": "https://files.pythonhosted.org/packages/d1/57/4300262bbf6f8b7b69a75e8d827a32b1503fe9322210440ad785fd6bf3d0/nonebug-0.4.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-19 11:52:34",
    "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.84223s