WebsocketTest 1.0.0__tar.gz → 1.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. WebsocketTest-1.0.2/PKG-INFO +7 -0
  2. WebsocketTest-1.0.2/WebsocketTest.egg-info/PKG-INFO +7 -0
  3. WebsocketTest-1.0.2/WebsocketTest.egg-info/entry_points.txt +2 -0
  4. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/setup.py +5 -9
  5. WebsocketTest-1.0.0/PKG-INFO +0 -72
  6. WebsocketTest-1.0.0/WebsocketTest.egg-info/PKG-INFO +0 -72
  7. WebsocketTest-1.0.0/WebsocketTest.egg-info/entry_points.txt +0 -6
  8. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/README.md +0 -0
  9. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/WebsocketTest.egg-info/SOURCES.txt +0 -0
  10. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/WebsocketTest.egg-info/dependency_links.txt +0 -0
  11. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/WebsocketTest.egg-info/requires.txt +0 -0
  12. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/WebsocketTest.egg-info/top_level.txt +0 -0
  13. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/caseScript/Aqua.py +0 -0
  14. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/caseScript/Gateway.py +0 -0
  15. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/caseScript/__init__.py +0 -0
  16. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/common/Assertion.py +0 -0
  17. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/common/WSBaseApi.py +0 -0
  18. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/common/WebSocketApi.py +0 -0
  19. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/common/__init__.py +0 -0
  20. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/common/assertUtils.py +0 -0
  21. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/common/logger.py +0 -0
  22. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/common/utils.py +0 -0
  23. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/setup.cfg +0 -0
  24. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/testcase/__init__.py +0 -0
  25. {WebsocketTest-1.0.0 → WebsocketTest-1.0.2}/testcase/test_all.py +0 -0
@@ -0,0 +1,7 @@
1
+ Metadata-Version: 2.1
2
+ Name: WebsocketTest
3
+ Version: 1.0.2
4
+ Summary: websocket api autotest
5
+ Author: chencheng
6
+ Requires-Python: >=3.10
7
+ Description-Content-Type: text/markdown
@@ -0,0 +1,7 @@
1
+ Metadata-Version: 2.1
2
+ Name: WebsocketTest
3
+ Version: 1.0.2
4
+ Summary: websocket api autotest
5
+ Author: chencheng
6
+ Requires-Python: >=3.10
7
+ Description-Content-Type: text/markdown
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ wsrun = WebsocketTest.cli:main_run_alias
@@ -3,12 +3,12 @@ from setuptools import find_packages, setup
3
3
 
4
4
  setup(
5
5
  name="WebsocketTest",
6
- version="1.0.0",
6
+ version="1.0.2",
7
7
  author='chencheng',
8
- python_requires=">=3.7",
9
- packages=find_packages(exclude=["examples", "logs", "tests.*"]),
8
+ python_requires=">=3.10",
9
+ packages=find_packages(exclude=["allure_report", "logs", "allure_results", "config", "data"]),
10
10
  description="websocket api autotest",
11
- long_description=open('README.md','r',encoding='utf-8').read(),
11
+ # long_description=open('README.md','r',encoding='utf-8').read(),
12
12
  long_description_content_type='text/markdown',
13
13
  install_requires = [
14
14
  "allure_python_commons==2.13.5",
@@ -20,11 +20,7 @@ setup(
20
20
  ],
21
21
  entry_points={
22
22
  'console_scripts': [
23
- 'har2case=pastor.cli:main_har2case_alias',
24
- 'pmake=pastor.cli:main_make_alias',
25
- 'prun=pastor.cli:main_prun_alias',
26
- 'pastor=pastor.cli:main',
27
- 'locusts=pastor.ext.locust:main_locusts'
23
+ 'wsrun=WebsocketTest.cli:main_run_alias'
28
24
  ]
29
25
  }
30
26
  )
@@ -1,72 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: WebsocketTest
3
- Version: 1.0.0
4
- Summary: websocket api autotest
5
- Author: chencheng
6
- Requires-Python: >=3.7
7
- Description-Content-Type: text/markdown
8
-
9
- # WebSocket 接口自动化测试工具 (WS_API_TEST)
10
-
11
- #### 介绍
12
-
13
- 这是一个基于 WebSocket 协议的接口自动化测试工具。它可以用于自动化测试 WebSocket 接口,确保接口的稳定性和可靠性。
14
-
15
- #### 系统要求
16
-
17
- **Python 3.10+**:确保你的系统上已经安装了 Python 3.10(推荐使用最新稳定版)。
18
- **项目依赖**:项目需要一些第三方库,可以通过 requirements.txt 文件安装。
19
-
20
- #### 安装步骤
21
-
22
- **1.安装 Python:**
23
- 确保你的系统上已经安装了 Python 3.10 或更高版本。你可以从 [Python 官方网站 ](https://www.python.org/downloads/?spm=5176.28103460.0.0.40f75d27PnqPkU)下载并安装。
24
- **2.克隆项目:**
25
- 使用 Git 克隆项目到你的本地机器。
26
-
27
- ```
28
- git clone https://code.iflytek.com/ZNQC_AUTO_AI/python_scripts.git
29
- cd python_scripts
30
- git checkout WS_API_TEST
31
- ```
32
-
33
- **3.安装项目依赖:**
34
- 使用 pip 安装项目所需的依赖库。
35
-
36
- ```
37
- pip install -r requirements.txt
38
- ```
39
- **4.运行项目:**
40
- 你可以通过以下两种方式之一来运行项目:
41
-
42
- * **使用命令行**:
43
- 在命令行中运行以下命令:
44
-
45
- ```
46
- python run_tests.py --env uat --app 3d7d3ea4 --service gateway_5.4 --project vwa
47
- ```
48
-
49
- * **使用批处理脚本**:
50
- 双击 run_tests.bat 文件来运行项目。
51
-
52
- #### 项目结构
53
- ├─allure_report
54
- ├─allure_results
55
- ├─build
56
- ├─common
57
- ├─config
58
- ├─data
59
- ├─dist
60
- ├─logs
61
- ├─testcase
62
-
63
- * **文件说明**:
64
- **allure_report**:存放 Allure 生成的 HTML 报告,用于展示测试结果。
65
- **allure_results**:存放 Allure 生成的测试结果数据文件,如 result-12345.xml。
66
- **build**:存放构建过程中生成的临时文件
67
- **common**:存放通用的工具类
68
- **config**:存放环境配置文件
69
- **data**:存放测试数据文件
70
- **dist**:存放最终发布的测试包
71
- **logs**:存放运行日志文件
72
- **testcase**:存放测试用例脚本
@@ -1,72 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: WebsocketTest
3
- Version: 1.0.0
4
- Summary: websocket api autotest
5
- Author: chencheng
6
- Requires-Python: >=3.7
7
- Description-Content-Type: text/markdown
8
-
9
- # WebSocket 接口自动化测试工具 (WS_API_TEST)
10
-
11
- #### 介绍
12
-
13
- 这是一个基于 WebSocket 协议的接口自动化测试工具。它可以用于自动化测试 WebSocket 接口,确保接口的稳定性和可靠性。
14
-
15
- #### 系统要求
16
-
17
- **Python 3.10+**:确保你的系统上已经安装了 Python 3.10(推荐使用最新稳定版)。
18
- **项目依赖**:项目需要一些第三方库,可以通过 requirements.txt 文件安装。
19
-
20
- #### 安装步骤
21
-
22
- **1.安装 Python:**
23
- 确保你的系统上已经安装了 Python 3.10 或更高版本。你可以从 [Python 官方网站 ](https://www.python.org/downloads/?spm=5176.28103460.0.0.40f75d27PnqPkU)下载并安装。
24
- **2.克隆项目:**
25
- 使用 Git 克隆项目到你的本地机器。
26
-
27
- ```
28
- git clone https://code.iflytek.com/ZNQC_AUTO_AI/python_scripts.git
29
- cd python_scripts
30
- git checkout WS_API_TEST
31
- ```
32
-
33
- **3.安装项目依赖:**
34
- 使用 pip 安装项目所需的依赖库。
35
-
36
- ```
37
- pip install -r requirements.txt
38
- ```
39
- **4.运行项目:**
40
- 你可以通过以下两种方式之一来运行项目:
41
-
42
- * **使用命令行**:
43
- 在命令行中运行以下命令:
44
-
45
- ```
46
- python run_tests.py --env uat --app 3d7d3ea4 --service gateway_5.4 --project vwa
47
- ```
48
-
49
- * **使用批处理脚本**:
50
- 双击 run_tests.bat 文件来运行项目。
51
-
52
- #### 项目结构
53
- ├─allure_report
54
- ├─allure_results
55
- ├─build
56
- ├─common
57
- ├─config
58
- ├─data
59
- ├─dist
60
- ├─logs
61
- ├─testcase
62
-
63
- * **文件说明**:
64
- **allure_report**:存放 Allure 生成的 HTML 报告,用于展示测试结果。
65
- **allure_results**:存放 Allure 生成的测试结果数据文件,如 result-12345.xml。
66
- **build**:存放构建过程中生成的临时文件
67
- **common**:存放通用的工具类
68
- **config**:存放环境配置文件
69
- **data**:存放测试数据文件
70
- **dist**:存放最终发布的测试包
71
- **logs**:存放运行日志文件
72
- **testcase**:存放测试用例脚本
@@ -1,6 +0,0 @@
1
- [console_scripts]
2
- har2case = pastor.cli:main_har2case_alias
3
- locusts = pastor.ext.locust:main_locusts
4
- pastor = pastor.cli:main
5
- pmake = pastor.cli:main_make_alias
6
- prun = pastor.cli:main_prun_alias
File without changes
File without changes