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.2.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.2.tar.gz.
File metadata
- Download URL: test_base_package-1.0.2.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 |
ec423149731a1c23e2fbf5aec46397bb93985911a4934fa82349d0e2c733947c
|
|
| MD5 |
7a6761e2e2662d8922b012820b5fe21d
|
|
| BLAKE2b-256 |
0519c4565110e8c4d62e6be1f9ec8b62857ba46fc6135539428e234f791c6bca
|
File details
Details for the file test_base_package-1.0.2-py3-none-any.whl.
File metadata
- Download URL: test_base_package-1.0.2-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 |
453f2a731249252e74f4cf5a5890411f0ebb1167af31b4737a8a2ce8d7b20200
|
|
| MD5 |
d07e417647a70c6bbf5b8daf36e3e9f6
|
|
| BLAKE2b-256 |
ddabdce0ba048983cf7bbd2e0421114a07fb62043fbb107d8ec387f4d2d56c62
|