Skip to content

Share the SQL Server container across database tests - #1898

Merged
StuartFerguson merged 2 commits into
mainfrom
task/#1889_database_test_performance
Aug 28, 2026
Merged

StuartFerguson merged 2 commits into
mainfrom
task/#1889_database_test_performance

Conversation

@StuartFerguson

Copy link
Copy Markdown
Member

Summary

  • Add a shared xUnit database fixture for the SQL Server Testcontainer.
  • Run database test classes in a collection using the shared container.
  • Keep per-test database names while removing repeated container startup and teardown.

Testing

  • Not run (not requested).

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

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

Copy link
Copy Markdown

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: 5de2d8b5c0

ℹ️ 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".

@StuartFerguson StuartFerguson linked an issue Aug 28, 2026 that may be closed by this pull request
@StuartFerguson
StuartFerguson merged commit 45b00e0 into main Aug 28, 2026
6 checks passed
@github-actions
github-actions Bot deleted the task/#1889_database_test_performance branch October 28, 2026 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Speed up DatabaseTests by reusing the SQL container

1 participant