Metadata-Version: 2.1
Name: TheRuffianReport
Version: 1.0.1
Summary: Report for unittest
Home-page: https://github.com/the-ruffian/TheRuffianReport
Download-URL: https://codeload.github.com/the-ruffian/TheRuffianReport/zip/refs/heads/master
Author: TheRuffian
Author-email: TheRuffian <bugpz2779@gmail.com>
License: MIT License
Project-URL: Homepage, https://github.com/the-ruffian/TheRuffianReport
Project-URL: download_page, https://codeload.github.com/the-ruffian/TheRuffianReport/zip/refs/heads/master
Keywords: the-ruffian,ruffianTest,ruffian,TheRuffian,TheRuffianReport
Platform: all
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Natural Language :: Chinese (Simplified)
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Testing
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests

#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')
```
