From 744b26c5d885ae0ef27156e659743c566b540622 Mon Sep 17 00:00:00 2001 From: chenyongzhiaaron <262667641@qq.com> Date: Tue, 8 Aug 2023 18:10:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=90=84=E7=B1=BB=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=EF=BC=8C=E4=BC=81=E4=B8=9A=E5=BE=AE=E4=BF=A1=E3=80=81?= =?UTF-8?q?=E9=92=89=E9=92=89=E3=80=81=E9=82=AE=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/workspace.xml | 134 +- OutPut/reports/report.html | 677 +- cases/cases/test_cases.xlsx | Bin 23511 -> 18492 bytes .../__pycache__/encrypt_data.cpython-39.pyc | Bin 1306 -> 1252 bytes common/crypto/encrypt_data.py | 8 +- common/data_extraction/__init__.py | 3 - .../__pycache__/__init__.cpython-39.pyc | Bin 325 -> 246 bytes .../__pycache__/data_extractor.cpython-39.pyc | Bin 4503 -> 4491 bytes .../dependent_parameter.cpython-39.pyc | Bin 4067 -> 3833 bytes common/data_extraction/data_extractor.py | 6 +- common/data_extraction/dependent_parameter.py | 19 +- common/database/__init__.py | 3 - .../__pycache__/__init__.cpython-39.pyc | Bin 318 -> 239 bytes .../__pycache__/mysql_client.cpython-39.pyc | Bin 3460 -> 3740 bytes common/database/mysql_client.py | 225 +- .../__pycache__/http_client.cpython-39.pyc | Bin 2545 -> 2686 bytes common/http_client/http_client.py | 7 +- .../__pycache__/mylogger.cpython-39.pyc | Bin 3487 -> 3424 bytes common/log_utils/mylogger.py | 2 - common/notice/dingding.py | 75 + common/notice/email_client.py | 74 + common/notice/weChat.py | 109 + common/utils/WxworkSms.py | 109 - .../utils/__pycache__/action.cpython-39.pyc | Bin 6484 -> 6438 bytes .../__pycache__/decorators.cpython-39.pyc | Bin 1851 -> 4412 bytes common/utils/action.py | 50 +- common/utils/decorators.py | 109 +- common/utils/exceptions.py | 95 +- .../__pycache__/extractor.cpython-39.pyc | Bin 2693 -> 2915 bytes .../load_and_execute_script.cpython-39.pyc | Bin 2000 -> 1954 bytes .../load_modules_from_folder.cpython-39.pyc | Bin 1968 -> 1956 bytes .../__pycache__/loaders.cpython-39.pyc | Bin 1891 -> 1898 bytes .../__pycache__/validator.cpython-39.pyc | Bin 3828 -> 3865 bytes common/validation/extractor.py | 152 +- common/validation/load_and_execute_script.py | 86 +- common/validation/load_modules_from_folder.py | 7 +- common/validation/loaders.py | 4 +- common/validation/validator.py | 7 +- config.py | 30 +- encryption_rules/rules.py | 5 +- extensions/__init__.py | 4 +- file.txt | 0 image/test_img.png | Bin 0 -> 542296 bytes output/reports/history.json | 2 +- run.py | 10 +- templates/__init__.py | 8 + templates/dingtalk.md | 9 + templates/templates.html | 456 + templates/templates03.html | 90 + templates/templates2.html | 799 ++ templates/templates3.html | 7375 +++++++++++++++++ templates/weChat.md | 20 + test_script/test_executor.py | 9 +- unittestreportnew/__init__.py | 14 + unittestreportnew/core/__init__.py | 0 unittestreportnew/core/dataDriver.py | 65 + unittestreportnew/core/parameterized.py | 635 ++ unittestreportnew/core/resultPush.py | 20 + unittestreportnew/core/testResult.py | 188 + unittestreportnew/core/testRunner.py | 247 + 60 files changed, 11059 insertions(+), 888 deletions(-) create mode 100644 common/notice/dingding.py create mode 100644 common/notice/email_client.py create mode 100644 common/notice/weChat.py delete mode 100644 common/utils/WxworkSms.py create mode 100644 file.txt create mode 100644 image/test_img.png create mode 100644 templates/__init__.py create mode 100644 templates/dingtalk.md create mode 100644 templates/templates.html create mode 100644 templates/templates03.html create mode 100644 templates/templates2.html create mode 100644 templates/templates3.html create mode 100644 templates/weChat.md create mode 100644 unittestreportnew/__init__.py create mode 100644 unittestreportnew/core/__init__.py create mode 100644 unittestreportnew/core/dataDriver.py create mode 100644 unittestreportnew/core/parameterized.py create mode 100644 unittestreportnew/core/resultPush.py create mode 100644 unittestreportnew/core/testResult.py create mode 100644 unittestreportnew/core/testRunner.py diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 8166fec..1c73fe7 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -42,32 +42,42 @@