Skip to content

Narrow critter integration tests to only copy models package#4191

Merged
evanchooly merged 1 commit intomasterfrom
critter-integration-tests-copy-models-only
Feb 28, 2026
Merged

Narrow critter integration tests to only copy models package#4191
evanchooly merged 1 commit intomasterfrom
critter-integration-tests-copy-models-only

Conversation

@evanchooly
Copy link
Member

Summary

  • Restricts the copy-test-sources execution to only copy dev/morphia/test/models/** instead of the entire core/src/test/java tree
  • Removes the copy-test-resources execution and its corresponding add-core-test-resources build-helper registration since they are no longer needed
  • Re-enables the source copying that was previously commented out, now scoped to just models

Test plan

  • Verify ./mvnw test -pl :critter-integration-tests -Ddeploy.skip=true compiles and runs successfully
  • Confirm only model classes are copied to src/core-test/java
  • Verify critter-maven generates the expected classes for the copied models

🤖 Generated with Claude Code

Instead of copying the entirety of core/src/test, only copy
dev/morphia/test/models/** so we can test that critter-maven
properly generates the required classes for those models.
Also removes the unnecessary test resource copying.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@evanchooly evanchooly merged commit 9545ed2 into master Feb 28, 2026
24 of 26 checks passed
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