Skip to content

Add CLI merge-animations process-level tests#155

Merged
fernandotonon merged 3 commits intomasterfrom
test/merge-animations-cli
Feb 25, 2026
Merged

Add CLI merge-animations process-level tests#155
fernandotonon merged 3 commits intomasterfrom
test/merge-animations-cli

Conversation

@fernandotonon
Copy link
Owner

Summary

  • Add 6 QProcess-based tests for the merge-animations CLI subcommand covering argument validation, missing/nonexistent files, single-file rejection, and a full end-to-end merge with output verification
  • Add Hip Hop Dancing.fbx test data file (Mixamo character, same skeleton as existing Twist Dance.fbx)
  • Tests skip gracefully when binary or test data files are unavailable (CI-safe)

Test plan

  • All 6 MergeAnimationsCLI.* tests pass locally
  • Full test suite (241 tests) passes with no regressions
  • CI builds and runs tests on all platforms

🤖 Generated with Claude Code

fernandotonon and others added 2 commits February 25, 2026 12:48
- AnimationMerger: new class to merge skeletal animations from multiple
  entities into a single base entity with skeleton compatibility checking
- GUI: toolbar button to merge animations of selected entities
- CLI: merge-animations subcommand for batch processing from command line
- MCP: merge_animations tool for AI agent integration
- Tests: MCP merge_animations tool tests and updated tools list
- Docs: new Animation Merging section, updated MCP tools list (25 tools),
  updated Skeleton & Animation feature card, footer year to 2026
- Version bump to 2.8.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
6 QProcess-based tests exercising the full merge-animations CLI pipeline:
argument validation, missing files, single-file rejection, and successful
end-to-end merge with output verification. Tests skip gracefully when
binary or test data files are unavailable.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@fernandotonon fernandotonon force-pushed the test/merge-animations-cli branch from 7a0f471 to c8ee05f Compare February 25, 2026 16:48
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7a0f471e76

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

…y, and CI linker error

- Verify base file loaded before proceeding (P1: honor --base flag)
- Fix CLI example in docs to use correct --base/--animations/--output flags
- Use QDir::tempPath() instead of hardcoded /tmp for cross-platform tests
- Add AnimationMerger.cpp/.h to tests/CMakeLists.txt to fix CI linker error

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link

@fernandotonon fernandotonon merged commit 6115c9f into master Feb 25, 2026
14 checks passed
@fernandotonon fernandotonon deleted the test/merge-animations-cli branch February 25, 2026 18:14
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.

1 participant