| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- LangChang_FrameWork/
- ├── core/ # 核心基础设施
- │ ├── base/ # 基础类
- │ │ ├── base_test.py # 测试基类
- │ │ ├── base_page.py # 页面对象基类
- │ │ ├── base_component.py # 组件基类
- │ │ └── singleton.py # 单例模式实现
- │ ├── driver/ # 驱动管理
- │ │ ├── driver_factory.py # 驱动工厂
- │ │ ├── web_driver.py # Web驱动封装
- │ │ ├── app_driver.py # App驱动封装
- │ │ └── api_client.py # API客户端
- │ ├── config/ # 配置管理
- │ │ ├── config_manager.py # 配置管理器
- │ │ ├── environment.py # 环境配置
- │ │ └── constants.py # 常量定义
- │ ├── utils/ # 核心工具
- │ │ ├── logger.py # 日志工具
- │ │ ├── wait_utils.py # 等待工具
- │ │ ├── assert_utils.py # 断言工具
- │ │ └── data_factory.py # 测试数据工厂
- │ └── exceptions/ # 自定义异常
- │ ├── framework_exceptions.py
- │ └── element_exceptions.py
- ├── modules/ # 功能模块
- │ ├── web/ # Web自动化
- │ │ ├── pages/ # 页面对象
- │ │ │ ├── login_page.py
- │ │ │ ├── home_page.py
- │ │ │ └── ...
- │ │ ├── components/ # 页面组件
- │ │ │ ├── header.py
- │ │ │ ├── sidebar.py
- │ │ │ └── ...
- │ │ └── locators/ # 元素定位器
- │ │ ├── login_locators.py
- │ │ ├── home_locators.py
- │ │ └── ...
- │ ├── api/ # API测试
- │ │ ├── clients/ # API客户端
- │ │ ├── models/ # 数据模型
- │ │ └── schemas/ # 数据模式
- │ ├── performance/ # 性能测试
- │ │ ├── locust_tests/ # Locust测试
- │ │ ├── jmeter_tests/ # JMeter测试
- │ │ └── performance_monitor.py # 性能监控
- │ ├── security/ # 安全测试
- │ │ ├── security_scanner.py # 安全扫描
- │ │ ├── vulnerability_check.py # 漏洞检查
- │ │ └── security_report.py # 安全报告
- │ ├── database/ # 数据库操作
- │ │ ├── db_client.py # 数据库客户端
- │ │ ├── models/ # 数据模型
- │ │ └── queries/ # SQL查询
- │ └── mobile/ # 移动端测试
- │ ├── app_driver.py # App驱动
- │ ├── app_pages/ # App页面
- │ └── app_locators/ # App定位器
- ├── utils/ # 通用工具
- │ ├── report/ # 报告工具
- │ │ ├── report_generator.py # 报告生成器
- │ │ ├── html_template.html # HTML模板
- │ │ └── email_notifier.py # 邮件通知
- │ ├── data/ # 数据处理
- │ │ ├── data_processor.py # 数据处理
- │ │ ├── excel_reader.py # Excel读取
- │ │ ├── json_processor.py # JSON处理
- │ │ └── csv_processor.py # CSV处理
- │ ├── file/ # 文件操作
- │ │ ├── file_manager.py # 文件管理
- │ │ └── screenshot_manager.py # 截图管理
- │ └── other/ # 其他工具
- │ ├── date_utils.py # 日期工具
- │ ├── string_utils.py # 字符串工具
- │ └── random_utils.py # 随机工具
- ├── tests/ # 测试用例
- │ ├── web_tests/ # Web测试
- │ ├── api_tests/ # API测试
- │ ├── performance_tests/ # 性能测试
- │ ├── security_tests/ # 安全测试
- │ ├── database_tests/ # 数据库测试
- │ └── mobile_tests/ # 移动端测试
- ├── resources/ # 资源文件
- │ ├── config/ # 配置文件
- │ │ ├── config.yaml # 主配置
- │ │ ├── test_data.yaml # 测试数据
- │ │ └── environments/ # 环境配置
- │ ├── drivers/ # 浏览器驱动
- │ ├── test_data/ # 测试数据
- │ │ ├── excel/ # Excel数据
- │ │ ├── json/ # JSON数据
- │ │ └── sql/ # SQL脚本
- │ ├── reports/ # 测试报告
- │ └── screenshots/ # 测试截图
- ├── docs/ # 文档
- │ ├── setup.md # 安装指南
- │ ├── usage.md # 使用指南
- │ └── api_reference.md # API参考
- ├── scripts/ # 脚本文件
- │ ├── install_dependencies.sh # 安装依赖
- │ ├── run_tests.sh # 运行测试
- │ └── deploy_framework.sh # 部署框架
- ├── requirements.txt # Python依赖
- ├── .env.example # 环境变量示例
- ├── conftest.py # Pytest配置
- └── run_tests.py # 测试运行入口
|