mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 16:30:29 +08:00
docs+test: 发布包对拍计划、pytest 双端 API 对拍与 run_elevator_parity 脚本
- docs/elevator-api-parity: 计划/报告模板/示例 - tools/elevator_api_parity: 端点目录、fixtures、对拍 client/compare、报告生成 - scripts/run_elevator_parity: JDK8 构建 + 单测/对拍(无服务时跳过对拍用例) Made-with: Cursor Former-commit-id: 3d54a40e1a7ae0b1724261d4f18910a6f415f853
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# 电梯应用 API 新旧版本对拍报告
|
||||
|
||||
- **报告生成时间**:(由脚本自动写入)
|
||||
- **新版权益端 Base URL**:
|
||||
- **历史基线端 Base URL**:
|
||||
|
||||
## 结论摘要
|
||||
|
||||
| 项 | 值 |
|
||||
|----|-----|
|
||||
| 总用例 | |
|
||||
| 通过 | |
|
||||
| 失败/跳过 | |
|
||||
| 可上线建议 | **通过/不通过/条件通过**(人工确认) |
|
||||
|
||||
## 逐条用例
|
||||
|
||||
| 名称 | 方法+路径 | HTTP(旧) | HTTP(新) | JSON 等值 | 备注 |
|
||||
|------|-----------|----------|----------|------------|------|
|
||||
| (表格由 `generate_report.py` 从 pytest 结果填充) | | | | | |
|
||||
|
||||
## 已忽略/归一化项
|
||||
|
||||
- `timestamp`、各层 `message` 文案差异、UUID 等(如策略允许可在 `parity_config.yaml` 配置)。
|
||||
|
||||
## 未启动实例时的说明
|
||||
|
||||
- 若出现「基线/新版无法连接健康检查」,对拍不执行,需在本机或联调机启动两 JAR 后重跑。
|
||||
Reference in New Issue
Block a user