Skip to content

[Engine] WorldQuery/deferred mutation 통합 테스트 추가#108

Merged
learncold merged 1 commit into
mainfrom
codex/engine-issue-13-integration-test
Apr 8, 2026
Merged

[Engine] WorldQuery/deferred mutation 통합 테스트 추가#108
learncold merged 1 commit into
mainfrom
codex/engine-issue-13-integration-test

Conversation

@learncold
Copy link
Copy Markdown
Owner

Summary

  • EngineRuntime public API만 사용해 query 조회와 deferred mutation 반영 흐름을 하나의 엔진 통합 테스트로 추가했습니다.
  • Startup 단계에서 엔티티를 생성하고 FixedSimulation 단계에서 WorldQuery::view로 읽은 뒤 WorldCommands로 컴포넌트 추가를 예약하고, stepFrame 완료 후 실제 반영 여부를 검증합니다.
  • 새 테스트 파일을 safecrowd_tests 타깃에 연결해 no-app 테스트 경로에서 함께 실행되도록 구성했습니다.

Related Issue

Area

  • Engine
  • Domain
  • Application
  • Docs
  • Build
  • Analysis
  • Chore

Architecture Check

  • I kept the dependency direction application -> domain -> engine.
  • I did not add Qt UI code to src/domain.
  • I did not add domain or application dependencies to src/engine.
  • I used src/ as the include root.

Verification

  • cmake --preset windows-debug
  • cmake --build --preset build-debug
  • ctest --preset test-debug
  • Not run (reason below)

사유:

  • Qt 앱 포함 전체 preset 대신 이 이슈의 검증 계획에 맞춰 build-no-app-debug, test-no-app-debug 경로로 확인했습니다.
  • 실행 명령:
    • cmake --build --preset build-no-app-debug
    • ctest --preset test-no-app-debug --output-on-failure

Risks / Follow-up

  • 이번 PR은 WorldQuery 조회와 addComponent 기반 deferred mutation 통합 흐름에 집중합니다.
  • destroyEntity / removeComponent까지 포함한 추가 통합 시나리오는 후속 엔진 테스트 확장으로 분리할 수 있습니다.

@learncold learncold merged commit 173fba9 into main Apr 8, 2026
2 checks passed
@learncold learncold deleted the codex/engine-issue-13-integration-test branch April 8, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task-Add engine smoke test for query and deferred mutation flow

1 participant