[Enhancement]: Support for TUnit

Open
#1,766 2 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

@zcsizmadia is already working on this.

Since Sep 17, 2026.

  • #1767 by @zcsizmadia — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
testing

Research direction

Start by examining the repository's existing TestContainers test-framework packages and the NuGet packaging configuration, using the current XUnit.v3 integration as the comparison point. Determine the package contents and integration surface needed for TUnit, then verify that a TestContainers.TUnit package can be built and published for use with TUnit tests.

Written by the indexing model from the issue text.

Description

enhancement module
Problem

There doesn't seem to be a TestContainers.TUnit package on NuGet.

You should. Please support TUnit.

Solution

Publish a TestContainers.TUnit package on NuGet

Benefit

Use TestContainers with TUnit so all our tests can be TUnit rather than XUnit.v3

Alternatives

Have to keep our TestContainers Integration tests on XUnit.v3 which we would prefer not to.

Would you like to help contributing this enhancement?

Yes

Dominant language
C#
Stars
4.4k
Forks
366
Avg merge
2d 6h
Merged PRs (30d)
19

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from testcontainers/testcontainers-dotnet

All issues in testcontainers/testcontainers-dotnet

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.