Add comprehensive tests for ONNX models and server jobs
Some checks failed
Test / test (push) Failing after 46m18s

- Introduced tests for the Moge3 ONNX model, including input validation, inference, and caching mechanisms.
- Added tests for ONNX runtime configurations and session management.
- Implemented tests for image upscaling functionality using ONNX models, ensuring proper handling of alpha channels and memory management.
- Created tests for panorama generation, verifying depth and visibility metrics.
- Developed tests for prediction artifacts, ensuring correct depth and normal data handling.
- Added server job tests for background removal and depth plane geometry generation, validating input handling and output correctness.
- Included environment tests to ensure proper dependency management and CI configurations.
This commit is contained in:
2026-09-19 19:24:07 +08:00
parent 75f6692f28
commit 2b3c0194a6
28 changed files with 296 additions and 22 deletions

View File

@@ -0,0 +1,17 @@
## ADDED Requirements
### Requirement: Capability-specific test commands
项目 SHALL 提供明确的 uv 命令分别运行常规 CI 测试、本地 AI 测试和本地全量测试。命令 SHALL 使用默认 `dev` 并显式增加所需能力组,不要求传入 `--no-default-groups`。
#### Scenario: Run regular validation
- **WHEN** 开发者运行常规验证命令
- **THEN** 命令安装核心与 Blender 能力并执行所有非 AI 测试
#### Scenario: Run AI validation locally
- **WHEN** 开发者运行 AI 验证命令
- **THEN** 命令安装 AI 能力并仅执行 AI 测试
#### Scenario: Run full validation locally
- **WHEN** 开发者运行全量验证命令
- **THEN** 命令安装 Blender 与 AI 能力并执行全部测试