Files
XCEngine/tests/UI/Editor/integration/README.md

24 lines
1.0 KiB
Markdown
Raw Normal View History

2026-04-10 00:41:28 +08:00
# Editor UI Integration
2026-04-10 00:41:28 +08:00
This directory contains manual Editor UI validation scenarios under `tests/UI/Editor/integration/`.
Rules:
2026-04-10 00:41:28 +08:00
- `tests/UI` remains the active validation entry point. `new_editor` is not a test entry point.
- Shared infrastructure belongs in `shared/`. Do not duplicate host plumbing per scenario unless the scenario is intentionally a custom host.
- One scenario maps to one executable.
2026-04-10 00:41:28 +08:00
Build:
```bash
cmake --build build --config Debug --target editor_ui_integration_tests
```
2026-04-10 00:41:28 +08:00
Screenshot output:
2026-04-10 00:41:28 +08:00
- Shared Editor integration hosts write screenshots only under the active CMake build directory.
- The output root is the executable directory: `.../Debug/captures/<scenario>/`.
- Example output: `<build>/tests/UI/Editor/integration/shell/object_field_basic/Debug/captures/object_field_basic/latest.png`
- History output: `<build>/tests/UI/Editor/integration/shell/object_field_basic/Debug/captures/object_field_basic/history/<timestamp>_<index>_<reason>.png`
- No new screenshot output is allowed under source-tree `tests/UI/.../captures/`.