Skip to content

Commit 64ce5b7

Browse files
committed
fix: Add XUnit test project to CI config
1 parent ef3b269 commit 64ce5b7

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/cicd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ jobs:
7878
{ name: "Testcontainers.RavenDb", runs-on: "ubuntu-22.04" },
7979
{ name: "Testcontainers.Redis", runs-on: "ubuntu-22.04" },
8080
{ name: "Testcontainers.Redpanda", runs-on: "ubuntu-22.04" },
81-
{ name: "Testcontainers.WebDriver", runs-on: "ubuntu-22.04" }
81+
{ name: "Testcontainers.WebDriver", runs-on: "ubuntu-22.04" },
82+
{ name: "Testcontainers.Xunit", runs-on: "ubuntu-22.04" }
8283
]
8384

8485
runs-on: ${{ matrix.test-projects.runs-on }}

src/Testcontainers.Xunit/ContainerFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Testcontainers.Xunit;
55
/// See <a href="https://xunit.net/docs/shared-context">Shared Context between Tests</a> from xUnit.net documentation for more information about fixtures.
66
/// A logger is automatically configured to write diagnostic messages to xUnit's <see cref="IMessageSink" />.
77
/// </summary>
8-
/// <param name="messageSink">An optional <see cref="IMessageSink"/> where the logs are written to. Pass <c>null</c> to ignore logs.</param>
8+
/// <param name="messageSink">An optional <see cref="IMessageSink" /> where the logs are written to. Pass <c>null</c> to ignore logs.</param>
99
/// <typeparam name="TBuilderEntity">The builder entity.</typeparam>
1010
/// <typeparam name="TContainerEntity">The container entity.</typeparam>
1111
[PublicAPI]

src/Testcontainers.Xunit/ContainerLifetime.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public TContainerEntity Container
5050
/// public class MariaDbRootUserFixture(IMessageSink messageSink) : DbContainerFixture&lt;MariaDbBuilder, MariaDbContainer&gt;(messageSink)
5151
/// {
5252
/// public override DbProviderFactory DbProviderFactory =&gt; MySqlConnectorFactory.Instance;
53-
/// <br />
53+
/// <br />
5454
/// protected override MariaDbBuilder Configure(MariaDbBuilder builder)
5555
/// {
5656
/// return builder.WithUsername("root");

src/Testcontainers.Xunit/ContainerTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace Testcontainers.Xunit;
44
/// Base class for tests needing a container per test method.
55
/// A logger is automatically configured to write messages to xUnit's <see cref="ITestOutputHelper" />.
66
/// </summary>
7-
/// <param name="testOutputHelper">An optional <see cref="ITestOutputHelper"/> where the logs are written to. Pass <c>null</c> to ignore logs.</param>
7+
/// <param name="testOutputHelper">An optional <see cref="ITestOutputHelper" /> where the logs are written to. Pass <c>null</c> to ignore logs.</param>
88
/// <param name="configure">An optional callback to configure the container.</param>
99
/// <typeparam name="TBuilderEntity">The builder entity.</typeparam>
1010
/// <typeparam name="TContainerEntity">The container entity.</typeparam>

0 commit comments

Comments
 (0)