Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add Testcontainers mentions to EF Core testing documentation#5175

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
Copilot wants to merge3 commits intomain
base:main
Choose a base branch
Loading
fromcopilot/add-mention-to-testcontainers

Conversation

Copy link
Contributor

CopilotAI commentedNov 23, 2025
edited
Loading

The testing documentation was missing references to Testcontainers, a library that simplifies managing containerized database instances during testing.

Changes

  • choosing-a-testing-strategy.md: Added Testcontainers mention in the section discussing Docker-based database setup, highlighting its role in automating container lifecycle management for tests.

  • testing-with-the-database.md: Added Testcontainers mention in the "Setting up your database system" section where Docker images are discussed.

Both mentions link to theTestcontainers .NET modules page and integrate naturally into existing Docker-related discussions.

Context

Testcontainers addresses a common pain point: manually managing database containers for testing. The library provides programmatic control over container lifecycle, making it easier to test against production database systems as recommended throughout the testing documentation.

Original prompt

This section details on the original issue you should resolve

<issue_title>Add a mention to testcontainers</issue_title>
<issue_description>### Type of issue

Missing information

Description

The "Choosing a testing strategy" page explains different scenarios on how to test code that relies on a database, each with its pro's and con's.
However it doesn't mentiontestcontainers, which I believe can improve the quality of this article (and the tests).

It can also be mentioned on the pageTesting against your production database system

Based on someopen issues, I think this was discusses before but never documented.

If this gets accepted, I'd also like to offer my help with this (and/or create a sample application for it).

Page URL

https://learn.microsoft.com/en-us/ef/core/testing/choosing-a-testing-strategy

Content source URL

https://github.com/dotnet/EntityFramework.Docs/blob/main/entity-framework/core/testing/choosing-a-testing-strategy.md

Document Version Independent Id

5bda9745-35bb-81d2-4b57-7fbb8879eb71

Platform Id

2823a329-61bb-76b0-9360-0c54a3dc2ef4

Article author

@roji</issue_description>

Comments on the Issue (you are@copilot in this section)

@rojiI agree that these pages should be mentioning testcontainers.

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

CopilotAIand others added2 commitsNovember 23, 2025 11:21
Co-authored-by: roji <1862641+roji@users.noreply.github.com>
Co-authored-by: roji <1862641+roji@users.noreply.github.com>
CopilotAI changed the title[WIP] Add mention of testcontainers to testing strategy pageAdd Testcontainers mentions to EF Core testing documentationNov 23, 2025
CopilotAI requested a review fromrojiNovember 23, 2025 11:24
Copilot finished work on behalf ofrojiNovember 23, 2025 11:24
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@rojirojiAwaiting requested review from roji

At least 1 approving review is required to merge this pull request.

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add a mention to testcontainers

2 participants

@roji

[8]ページ先頭

©2009-2025 Movatter.jp