Skip to content

Add WordRepository integration tests with embedded MongoDB#4196

Closed
Copilot wants to merge 7 commits intomt2from
copilot/sub-pr-4194-again
Closed

Add WordRepository integration tests with embedded MongoDB#4196
Copilot wants to merge 7 commits intomt2from
copilot/sub-pr-4194-again

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 9, 2026

  • Add EphemeralMongo7 runtime packages
  • Create MongoDbTestRunner.cs
  • Create WordRepositoryTests.cs (48 integration tests)
  • Add [Category("IntegrationTest")] and test:integration / test:unit scripts
  • Update WordRepositoryTests.cs to match updated WordRepository:
    • Renamed RepoCreate → Create
    • Renamed RepoUpdateFrontier → UpdateFrontier
    • Renamed RepoReplaceFrontier → ReplaceFrontier
    • Renamed RepoRevertReplaceFrontier → RevertReplaceFrontier (returns bool)
    • Renamed RepoDeleteFrontier → DeleteFrontier
    • Renamed RepoRestoreFrontier → RestoreFrontier (single string arg, returns bool)
    • Reordered test sections to match WordRepository method order
    • Fixed assertions for changed return types

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.


This change is Reviewable

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants