# llm-auto **Repository Path**: lldhsds/llm-auto ## Basic Information - **Project Name**: llm-auto - **Description**: 大模型一体机自动化测试项目 - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-12 - **Last Updated**: 2025-04-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 大模型一体机自动化测试项目 包括大模型一体机api自动化测试,大模型一体机UI自动化测试,模型实例OpenAPI自动化测试。目前已实现模型实例API自动化测试。 ## 大模型一体机api自动化测试 测试用例路径:./tests/test_api/ 当前状态:当前未完成开发。 ## 大模型一体机UI自动化测试 测试用例路径:./tests/test_ui/ 当前状态:当前未完成开发。 ## 模型实例API自动化测试 测试用例路径:./tests/test_llm_openapi/ 当前状态:当前已经完成自动化脚本测试。 ## 大模型一体机llmperf测试自动化 代码路径:./llmperf-auto 当前状态:已经开发完成,参考[指导](./llmperf-auto/readme.md)进行大模型API性能和正确性基准测试。 ## 测试执行 ### 准备测试环境 ```shell # 克隆代码仓库 git clone http://10.0.112.13:9000/appraisal_center/llm-api-automatioin.git # 安装依赖 pip install -r requirements.txt ``` ### 执行用例 根据测试环境信息修改配置文件。配置位于`.\config\config.yaml`,根据文件注释信息进行修改。 在项目根路径下执行`pytest`命令运行所有测试用例。 ## 结果查看 ### pytest-html报告 pytest-html报告位于`.\results\pytest-html\`路径。 ### allure2报告 在项目根路径下执行`allure serve .\results\allure-results\`,会自动启动浏览器展示allure2报告。