TheRuffianReport


NameTheRuffianReport JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/the-ruffian/TheRuffianReport
SummaryReport for unittest
upload_time2023-02-08 04:49:48
maintainer
docs_urlNone
authorTheRuffian
requires_python>=3.6
licenseMIT License
keywords the-ruffian ruffiantest ruffian theruffian theruffianreport
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            #Introduction
```shell
    Based on TheRuffianReport development,
     new assertion failure screenshot,
      screenshot display and DingTalk function
```    

#Installing
    pip install TheRuffianReport
    python≥3.0

#Author
    bugpz2779@gmail.com

#Function Introduction

```python
 # screenshot
import unittest
from selenium import webdriver

from TheRuffianReport.HTMLTestRunner import failure_monitor


class Test_demo(unittest.TestCase):
    def setUp(self) -> None:
        self.driver = webdriver.Chrome()
        self.failureException = failure_monitor(self, 'images')
        self.driver.get('https://www.baidu.com')

    def test_baidu(self):
        self.driver.find_element('id', 'kw').send_keys('python')
        self.driver.find_element('id', 'su').click()
        self.assertEqual(self.driver.find_element('id', 'kw').get_attribute('value'), 'selenium')
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/the-ruffian/TheRuffianReport",
    "name": "TheRuffianReport",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "the-ruffian,ruffianTest,ruffian,TheRuffian,TheRuffianReport",
    "author": "TheRuffian",
    "author_email": "TheRuffian <bugpz2779@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/f4/52/abe8b98f73a3f491643ea9a47ab8bc0eba5b4b2b4ea13e70de14bba82571/TheRuffianReport-1.0.1.tar.gz",
    "platform": "all",
    "description": "#Introduction\n```shell\n    Based on TheRuffianReport development,\n     new assertion failure screenshot,\n      screenshot display and DingTalk function\n```    \n\n#Installing\n    pip install TheRuffianReport\n    python\u22653.0\n\n#Author\n    bugpz2779@gmail.com\n\n#Function Introduction\n\n```python\n # screenshot\nimport unittest\nfrom selenium import webdriver\n\nfrom TheRuffianReport.HTMLTestRunner import failure_monitor\n\n\nclass Test_demo(unittest.TestCase):\n    def setUp(self) -> None:\n        self.driver = webdriver.Chrome()\n        self.failureException = failure_monitor(self, 'images')\n        self.driver.get('https://www.baidu.com')\n\n    def test_baidu(self):\n        self.driver.find_element('id', 'kw').send_keys('python')\n        self.driver.find_element('id', 'su').click()\n        self.assertEqual(self.driver.find_element('id', 'kw').get_attribute('value'), 'selenium')\n```\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Report for unittest",
    "version": "1.0.1",
    "split_keywords": [
        "the-ruffian",
        "ruffiantest",
        "ruffian",
        "theruffian",
        "theruffianreport"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f4ae002aa901bc663cb87e603bbcfe2c8f9fac7d291a5d47882c6b55f1efdb3a",
                "md5": "b7d6c04f242da47eb766d451d1212fb3",
                "sha256": "8478ed172eb20360b85adb3af13f7838ee3e820139b52d6a494d6a9fa5ef9b60"
            },
            "downloads": -1,
            "filename": "TheRuffianReport-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b7d6c04f242da47eb766d451d1212fb3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 11990,
            "upload_time": "2023-02-08T04:49:46",
            "upload_time_iso_8601": "2023-02-08T04:49:46.474420Z",
            "url": "https://files.pythonhosted.org/packages/f4/ae/002aa901bc663cb87e603bbcfe2c8f9fac7d291a5d47882c6b55f1efdb3a/TheRuffianReport-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f452abe8b98f73a3f491643ea9a47ab8bc0eba5b4b2b4ea13e70de14bba82571",
                "md5": "2ce12d058bf898c9c45080bd712ccee8",
                "sha256": "58002c5fc6bedc4d710fa26468b6026e98c3dd15292f6524f85158f8a7f53550"
            },
            "downloads": -1,
            "filename": "TheRuffianReport-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "2ce12d058bf898c9c45080bd712ccee8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 12416,
            "upload_time": "2023-02-08T04:49:48",
            "upload_time_iso_8601": "2023-02-08T04:49:48.824640Z",
            "url": "https://files.pythonhosted.org/packages/f4/52/abe8b98f73a3f491643ea9a47ab8bc0eba5b4b2b4ea13e70de14bba82571/TheRuffianReport-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-02-08 04:49:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "the-ruffian",
    "github_project": "TheRuffianReport",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "theruffianreport"
}
        
Elapsed time: 0.08974s