Skip to content

[0%] Phase 7: Test infrastructure and CI matrix #4189

@evanchooly

Description

@evanchooly

Parent: #4179
Blocked by: #4188

Goal

Enable parameterized testing across both mapper implementations and extend CI to cover both.

Details

See Phase 7 in planning doc

Tasks

  • Add -Dmorphia.mapper Maven property passthrough in surefire config
  • Update MorphiaTestSetup.buildConfig() to read morphia.mapper system property
  • Add @DataProvider("mapperTypes") to TestBase for dual-mapper tests
  • Update CI workflow: add mapper: [legacy, critter] to test matrix
  • Verify full test suite passes with -Dmorphia.mapper=legacy
  • Verify full test suite passes with -Dmorphia.mapper=critter
  • Mark critter-integration-tests as deprecated (cleanup in Phase 8)

Progress Tracking

phase_percentage = (completed_tasks / 7) * 100, rounded to nearest integer
gh issue edit 4189 --repo MorphiaOrg/morphia --title "[XX%] Phase 7: Test infrastructure and CI matrix"

parent_percentage = (total_completed_tasks_across_all_phases / 55) * 100, rounded to nearest integer
gh issue edit 4179 --repo MorphiaOrg/morphia --title "[XX%] Integrate critter-core into morphia-core"

When all tasks are complete (100%), close this issue and check its box in #4179.

Metadata

Metadata

Assignees

No one assigned

    Labels

    critterCritter bytecode generation integrationenhancement

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions