python 自动化测试基础包
Project description
test_base_package自动化测试基础包,其中包括ui自动化和api接口自动化部分(暂未集成),由于test_base_package基础包集成了当前自动化测试的一些主流第三方库 ,测试人员可以通过test_base_package基础包快速的搭建自己的自动化测试框架。
一、安装
pip install test-base-package
二、使用示例
1、test_base_package 基础集成cli命令testpkg,可以使用testpkg命令进行初始化测试项目,测试模块详细命令请使用testpkg -h 查看。
2、命令详情
positional arguments:
project_name 项目名称为必填项
{1,2} 测试用例类型: 1、ui自动化测试。 2、api自动化测试。
options:
-h, --help show this help message and exit
--case_name CASE_NAME
测试用例模块为选填项
3、初始化项目命令
testpkg project_name 1
4、初始化项目结构
├─project_name
├─cases
│ __init__.py
│
├─logs
├─pages
│ __init__.py
│
├─screenshots
├─__init__.py
├─config.py
├─conftest.py
├─pytest.ini
├─requirements.txt
├─runner.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
test_base_package-1.0.3.tar.gz
(10.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file test_base_package-1.0.3.tar.gz.
File metadata
- Download URL: test_base_package-1.0.3.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fc9b880131c6cc04b0c6d57333dfa8d1140f1f02c5027e171aff178ac95a7dc
|
|
| MD5 |
06a796e60cd03b1af687d00a269b6bb6
|
|
| BLAKE2b-256 |
cc65880a0aefc0d312339e8ade3a27bad299f36d3d78eb769db6ba2554607dd3
|
File details
Details for the file test_base_package-1.0.3-py3-none-any.whl.
File metadata
- Download URL: test_base_package-1.0.3-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a8eff1d5f1dc3d25d8c7c618a8d8ef9155805d602234c50149fa89c915e2dcb
|
|
| MD5 |
74bbf9a3a187f490d3902508d8bd242a
|
|
| BLAKE2b-256 |
1f4544fa77bc804668108cce1d2a3f1d7a424d4a2edd5000b0302eef525d6771
|