Skip to content

Commit e9be189

Browse files
Hamilton, MontaneHamilton, Montane
Hamilton, Montane
authored and
Hamilton, Montane
committed
Add Seq Module
1 parent 49ef7dc commit e9be189

13 files changed

+312
-9
lines changed

Directory.Packages.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<PackageVersion Include="Docker.DotNet.Enhanced" Version="3.126.0"/>
1010
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0"/>
1111
<PackageVersion Include="Microsoft.Bcl.HashCode" Version="1.1.1"/>
12+
<PackageVersion Include="Microsoft.Extensions.Logging" Version="8.0.1"/>
1213
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.2"/>
1314
<PackageVersion Include="SharpZipLib" Version="1.4.2"/>
1415
<PackageVersion Include="SSH.NET" Version="2024.1.0"/>
@@ -23,6 +24,8 @@
2324
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2"/>
2425
<PackageVersion Include="xunit.v3.extensibility.core" Version="0.2.0-pre.69"/>
2526
<PackageVersion Include="xunit" Version="2.9.2"/>
27+
<PackageVersion Include="Seq.Api" Version="2024.3.0"/>
28+
<PackageVersion Include="Seq.Extensions.Logging" Version="8.0.0"/>
2629
<!-- Third-party client dependencies to connect and interact with the containers: -->
2730
<PackageVersion Include="Apache.NMS.ActiveMQ" Version="2.1.0"/>
2831
<PackageVersion Include="ArangoDBNetStandard" Version="2.0.1"/>

Testcontainers.sln

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,15 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Testcontainers.WebDriver.Te
201201
EndProject
202202
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Testcontainers.Xunit.Tests", "tests\Testcontainers.Xunit.Tests\Testcontainers.Xunit.Tests.csproj", "{E901DF14-6F05-4FC2-825A-3055FAD33561}"
203203
EndProject
204+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Testcontainers.Seq", "..\testcontainers-dotnet\src\Testcontainers.Seq\Testcontainers.Seq.csproj", "{F148CB77-9438-9DCF-CA37-75F7BCD5FEF6}"
205+
EndProject
206+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Testcontainers.Seq.Tests", "..\testcontainers-dotnet\tests\Testcontainers.Seq.Tests\Testcontainers.Seq.Tests.csproj", "{6FF86CD0-3801-ADE4-A59B-271AC8B2390C}"
207+
EndProject
204208
Global
205209
GlobalSection(SolutionConfigurationPlatforms) = preSolution
206210
Debug|Any CPU = Debug|Any CPU
207211
Release|Any CPU = Release|Any CPU
208212
EndGlobalSection
209-
GlobalSection(SolutionProperties) = preSolution
210-
HideSolutionNode = FALSE
211-
EndGlobalSection
212213
GlobalSection(ProjectConfigurationPlatforms) = postSolution
213214
{5365F780-0E6C-41F0-B1B9-7DC34368F80C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
214215
{5365F780-0E6C-41F0-B1B9-7DC34368F80C}.Debug|Any CPU.Build.0 = Debug|Any CPU
@@ -586,6 +587,17 @@ Global
586587
{E901DF14-6F05-4FC2-825A-3055FAD33561}.Debug|Any CPU.Build.0 = Debug|Any CPU
587588
{E901DF14-6F05-4FC2-825A-3055FAD33561}.Release|Any CPU.ActiveCfg = Release|Any CPU
588589
{E901DF14-6F05-4FC2-825A-3055FAD33561}.Release|Any CPU.Build.0 = Release|Any CPU
590+
{F148CB77-9438-9DCF-CA37-75F7BCD5FEF6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
591+
{F148CB77-9438-9DCF-CA37-75F7BCD5FEF6}.Debug|Any CPU.Build.0 = Debug|Any CPU
592+
{F148CB77-9438-9DCF-CA37-75F7BCD5FEF6}.Release|Any CPU.ActiveCfg = Release|Any CPU
593+
{F148CB77-9438-9DCF-CA37-75F7BCD5FEF6}.Release|Any CPU.Build.0 = Release|Any CPU
594+
{6FF86CD0-3801-ADE4-A59B-271AC8B2390C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
595+
{6FF86CD0-3801-ADE4-A59B-271AC8B2390C}.Debug|Any CPU.Build.0 = Debug|Any CPU
596+
{6FF86CD0-3801-ADE4-A59B-271AC8B2390C}.Release|Any CPU.ActiveCfg = Release|Any CPU
597+
{6FF86CD0-3801-ADE4-A59B-271AC8B2390C}.Release|Any CPU.Build.0 = Release|Any CPU
598+
EndGlobalSection
599+
GlobalSection(SolutionProperties) = preSolution
600+
HideSolutionNode = FALSE
589601
EndGlobalSection
590602
GlobalSection(NestedProjects) = preSolution
591603
{5365F780-0E6C-41F0-B1B9-7DC34368F80C} = {673F23AE-7694-4BB9-ABD4-136D6C13634E}
@@ -682,5 +694,10 @@ Global
682694
{27CDB869-A150-4593-958F-6F26E5391E7C} = {7164F1FB-7F24-444A-ACD2-2C329C2B3CCF}
683695
{EBA72C3B-57D5-43FF-A5B4-3D55B3B6D4C2} = {7164F1FB-7F24-444A-ACD2-2C329C2B3CCF}
684696
{E901DF14-6F05-4FC2-825A-3055FAD33561} = {7164F1FB-7F24-444A-ACD2-2C329C2B3CCF}
697+
{F148CB77-9438-9DCF-CA37-75F7BCD5FEF6} = {673F23AE-7694-4BB9-ABD4-136D6C13634E}
698+
{6FF86CD0-3801-ADE4-A59B-271AC8B2390C} = {7164F1FB-7F24-444A-ACD2-2C329C2B3CCF}
699+
EndGlobalSection
700+
GlobalSection(ExtensibilityGlobals) = postSolution
701+
SolutionGuid = {5EC93352-CD4F-4CB4-84D3-B822DB932443}
685702
EndGlobalSection
686703
EndGlobal

src/Testcontainers.Seq/.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
root = true

src/Testcontainers.Seq/SeqBuilder.cs

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
namespace Testcontainers.Seq;
2+
3+
/// <inheritdoc cref="ContainerBuilder{TBuilderEntity, TContainerEntity, TConfigurationEntity}" />
4+
[PublicAPI]
5+
public sealed class SeqBuilder : ContainerBuilder<SeqBuilder, SeqContainer, SeqConfiguration>
6+
{
7+
public const string SeqImage = "datalust/seq:2024.2.11456";
8+
9+
public const ushort SeqApiPort = 80;
10+
public const ushort SeqIngestionPort = 5341;
11+
12+
/// <inheritdoc />
13+
protected override SeqConfiguration DockerResourceConfiguration { get; }
14+
15+
/// <summary>
16+
/// Initializes a new instance of the <see cref="SeqBuilder" /> class.
17+
/// </summary>
18+
public SeqBuilder()
19+
: this(new SeqConfiguration())
20+
{
21+
DockerResourceConfiguration = Init().DockerResourceConfiguration;
22+
}
23+
24+
/// <summary>
25+
/// Initializes a new instance of the <see cref="SeqBuilder" /> class.
26+
/// </summary>
27+
/// <param name="resourceConfiguration">The Docker resource configuration.</param>
28+
private SeqBuilder(SeqConfiguration resourceConfiguration)
29+
: base(resourceConfiguration)
30+
{
31+
DockerResourceConfiguration = resourceConfiguration;
32+
}
33+
34+
/// <inheritdoc />
35+
public override SeqContainer Build()
36+
{
37+
Validate();
38+
return new SeqContainer(DockerResourceConfiguration);
39+
}
40+
/// <inheritdoc />
41+
protected override SeqBuilder Init()
42+
{
43+
return base.Init()
44+
.WithImage(SeqImage)
45+
.WithPortBinding(SeqApiPort, true)
46+
.WithPortBinding(SeqIngestionPort, true)
47+
.WithEnvironment(new Dictionary<string, string>
48+
{
49+
{"ACCEPT_EULA", "Y" }
50+
})
51+
.WithWaitStrategy(Wait.ForUnixContainer().UntilHttpRequestIsSucceeded(request =>
52+
request.ForPath("/health").ForPort(SeqApiPort)));
53+
}
54+
55+
/// <inheritdoc />
56+
protected override SeqBuilder Clone(IResourceConfiguration<CreateContainerParameters> resourceConfiguration)
57+
{
58+
return Merge(DockerResourceConfiguration, new SeqConfiguration(resourceConfiguration));
59+
}
60+
61+
/// <inheritdoc />
62+
protected override SeqBuilder Clone(IContainerConfiguration resourceConfiguration)
63+
{
64+
return Merge(DockerResourceConfiguration, new SeqConfiguration(resourceConfiguration));
65+
}
66+
67+
/// <inheritdoc />
68+
protected override SeqBuilder Merge(SeqConfiguration oldValue, SeqConfiguration newValue)
69+
{
70+
return new SeqBuilder(new SeqConfiguration(oldValue, newValue));
71+
}
72+
}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
namespace Testcontainers.Seq;
2+
3+
/// <inheritdoc cref="ContainerConfiguration" />
4+
[PublicAPI]
5+
public sealed class SeqConfiguration : ContainerConfiguration
6+
{
7+
/// <summary>
8+
/// Initializes a new instance of the <see cref="SeqConfiguration" /> class.
9+
/// </summary>
10+
/// <param name="config">The Orion.TestContainers.Seq config.</param>
11+
public SeqConfiguration(object config = null)
12+
{
13+
// Sets the custom builder methods property values.
14+
}
15+
16+
/// <summary>
17+
/// Initializes a new instance of the <see cref="SeqConfiguration" /> class.
18+
/// </summary>
19+
/// <param name="resourceConfiguration">The Docker resource configuration.</param>
20+
public SeqConfiguration(IResourceConfiguration<CreateContainerParameters> resourceConfiguration)
21+
: base(resourceConfiguration)
22+
{
23+
// Passes the configuration upwards to the base implementations to create an updated immutable copy.
24+
}
25+
26+
/// <summary>
27+
/// Initializes a new instance of the <see cref="SeqConfiguration" /> class.
28+
/// </summary>
29+
/// <param name="resourceConfiguration">The Docker resource configuration.</param>
30+
public SeqConfiguration(IContainerConfiguration resourceConfiguration)
31+
: base(resourceConfiguration)
32+
{
33+
// Passes the configuration upwards to the base implementations to create an updated immutable copy.
34+
}
35+
36+
/// <summary>
37+
/// Initializes a new instance of the <see cref="SeqConfiguration" /> class.
38+
/// </summary>
39+
/// <param name="resourceConfiguration">The Docker resource configuration.</param>
40+
public SeqConfiguration(SeqConfiguration resourceConfiguration)
41+
: this(new SeqConfiguration(), resourceConfiguration)
42+
{
43+
// Passes the configuration upwards to the base implementations to create an updated immutable copy.
44+
}
45+
46+
/// <summary>
47+
/// Initializes a new instance of the <see cref="SeqConfiguration" /> class.
48+
/// </summary>
49+
/// <param name="oldValue">The old Docker resource configuration.</param>
50+
/// <param name="newValue">The new Docker resource configuration.</param>
51+
public SeqConfiguration(SeqConfiguration oldValue, SeqConfiguration newValue)
52+
: base(oldValue, newValue)
53+
{
54+
// Create an updated immutable copy of the module configuration.
55+
}
56+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
using System;
2+
3+
namespace Testcontainers.Seq;
4+
5+
/// <inheritdoc cref="DockerContainer" />
6+
[PublicAPI]
7+
public sealed class SeqContainer : DockerContainer
8+
{
9+
/// <summary>
10+
/// Initializes a new instance of the <see cref="SeqContainer" /> class.
11+
/// </summary>
12+
/// <param name="configuration">The container configuration.</param>
13+
public SeqContainer(SeqConfiguration configuration)
14+
: base(configuration)
15+
{
16+
}
17+
18+
public string GetServerApiUrl()
19+
{
20+
return new UriBuilder("http", Hostname, GetMappedPublicPort(SeqBuilder.SeqApiPort)).Uri.ToString();
21+
}
22+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFrameworks>net6.0;net8.0;netstandard2.0;netstandard2.1</TargetFrameworks>
4+
<LangVersion>latest</LangVersion>
5+
</PropertyGroup>
6+
<ItemGroup>
7+
<PackageReference Include="JetBrains.Annotations" VersionOverride="2023.3.0" PrivateAssets="All"/>
8+
</ItemGroup>
9+
<ItemGroup>
10+
<ProjectReference Include="../Testcontainers/Testcontainers.csproj"/>
11+
</ItemGroup>
12+
</Project>

src/Testcontainers.Seq/Usings.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
global using System.Collections.Generic;
2+
global using Docker.DotNet.Models;
3+
global using DotNet.Testcontainers.Builders;
4+
global using DotNet.Testcontainers.Configurations;
5+
global using DotNet.Testcontainers.Containers;
6+
global using JetBrains.Annotations;

tests/Testcontainers.Databases.Tests/Testcontainers.Databases.Tests.csproj

Lines changed: 52 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,59 @@
55
<IsPublishable>false</IsPublishable>
66
</PropertyGroup>
77
<ItemGroup>
8-
<PackageReference Include="Microsoft.NET.Test.Sdk"/>
9-
<PackageReference Include="coverlet.collector"/>
10-
<PackageReference Include="xunit.runner.visualstudio"/>
11-
<PackageReference Include="xunit"/>
8+
<PackageReference Include="Microsoft.NET.Test.Sdk" />
9+
<PackageReference Include="coverlet.collector" />
10+
<PackageReference Include="xunit.runner.visualstudio" />
11+
<PackageReference Include="xunit" />
1212
</ItemGroup>
1313
<ItemGroup>
14-
<ProjectReference Include="../Testcontainers.*.Tests/Testcontainers.*.Tests.csproj"/>
15-
<ProjectReference Remove="Testcontainers.Databases.Tests.csproj"/>
14+
<ProjectReference Include="..\..\..\testcontainers-dotnet\src\Testcontainers.Seq\Testcontainers.Seq.csproj" />
15+
<ProjectReference Include="..\Testcontainers.ActiveMq.Tests\Testcontainers.ActiveMq.Tests.csproj" />
16+
<ProjectReference Include="..\Testcontainers.ArangoDb.Tests\Testcontainers.ArangoDb.Tests.csproj" />
17+
<ProjectReference Include="..\Testcontainers.Azurite.Tests\Testcontainers.Azurite.Tests.csproj" />
18+
<ProjectReference Include="..\Testcontainers.BigQuery.Tests\Testcontainers.BigQuery.Tests.csproj" />
19+
<ProjectReference Include="..\Testcontainers.Bigtable.Tests\Testcontainers.Bigtable.Tests.csproj" />
20+
<ProjectReference Include="..\Testcontainers.ClickHouse.Tests\Testcontainers.ClickHouse.Tests.csproj" />
21+
<ProjectReference Include="..\Testcontainers.CockroachDb.Tests\Testcontainers.CockroachDb.Tests.csproj" />
22+
<ProjectReference Include="..\Testcontainers.Consul.Tests\Testcontainers.Consul.Tests.csproj" />
23+
<ProjectReference Include="..\Testcontainers.CosmosDb.Tests\Testcontainers.CosmosDb.Tests.csproj" />
24+
<ProjectReference Include="..\Testcontainers.Couchbase.Tests\Testcontainers.Couchbase.Tests.csproj" />
25+
<ProjectReference Include="..\Testcontainers.CouchDb.Tests\Testcontainers.CouchDb.Tests.csproj" />
26+
<ProjectReference Include="..\Testcontainers.DynamoDb.Tests\Testcontainers.DynamoDb.Tests.csproj" />
27+
<ProjectReference Include="..\Testcontainers.Elasticsearch.Tests\Testcontainers.Elasticsearch.Tests.csproj" />
28+
<ProjectReference Include="..\Testcontainers.EventStoreDb.Tests\Testcontainers.EventStoreDb.Tests.csproj" />
29+
<ProjectReference Include="..\Testcontainers.FakeGcsServer.Tests\Testcontainers.FakeGcsServer.Tests.csproj" />
30+
<ProjectReference Include="..\Testcontainers.FirebirdSql.Tests\Testcontainers.FirebirdSql.Tests.csproj" />
31+
<ProjectReference Include="..\Testcontainers.Firestore.Tests\Testcontainers.Firestore.Tests.csproj" />
32+
<ProjectReference Include="..\Testcontainers.InfluxDb.Tests\Testcontainers.InfluxDb.Tests.csproj" />
33+
<ProjectReference Include="..\Testcontainers.JanusGraph.Tests\Testcontainers.JanusGraph.Tests.csproj" />
34+
<ProjectReference Include="..\Testcontainers.K3s.Tests\Testcontainers.K3s.Tests.csproj" />
35+
<ProjectReference Include="..\Testcontainers.Kafka.Tests\Testcontainers.Kafka.Tests.csproj" />
36+
<ProjectReference Include="..\Testcontainers.Keycloak.Tests\Testcontainers.Keycloak.Tests.csproj" />
37+
<ProjectReference Include="..\Testcontainers.Kusto.Tests\Testcontainers.Kusto.Tests.csproj" />
38+
<ProjectReference Include="..\Testcontainers.LocalStack.Tests\Testcontainers.LocalStack.Tests.csproj" />
39+
<ProjectReference Include="..\Testcontainers.MariaDb.Tests\Testcontainers.MariaDb.Tests.csproj" />
40+
<ProjectReference Include="..\Testcontainers.Milvus.Tests\Testcontainers.Milvus.Tests.csproj" />
41+
<ProjectReference Include="..\Testcontainers.Minio.Tests\Testcontainers.Minio.Tests.csproj" />
42+
<ProjectReference Include="..\Testcontainers.MongoDb.Tests\Testcontainers.MongoDb.Tests.csproj" />
43+
<ProjectReference Include="..\Testcontainers.MsSql.Tests\Testcontainers.MsSql.Tests.csproj" />
44+
<ProjectReference Include="..\Testcontainers.MySql.Tests\Testcontainers.MySql.Tests.csproj" />
45+
<ProjectReference Include="..\Testcontainers.Nats.Tests\Testcontainers.Nats.Tests.csproj" />
46+
<ProjectReference Include="..\Testcontainers.Neo4j.Tests\Testcontainers.Neo4j.Tests.csproj" />
47+
<ProjectReference Include="..\Testcontainers.Oracle.Tests\Testcontainers.Oracle.Tests.csproj" />
48+
<ProjectReference Include="..\Testcontainers.Papercut.Tests\Testcontainers.Papercut.Tests.csproj" />
49+
<ProjectReference Include="..\Testcontainers.Platform.Linux.Tests\Testcontainers.Platform.Linux.Tests.csproj" />
50+
<ProjectReference Include="..\Testcontainers.Platform.Windows.Tests\Testcontainers.Platform.Windows.Tests.csproj" />
51+
<ProjectReference Include="..\Testcontainers.PostgreSql.Tests\Testcontainers.PostgreSql.Tests.csproj" />
52+
<ProjectReference Include="..\Testcontainers.PubSub.Tests\Testcontainers.PubSub.Tests.csproj" />
53+
<ProjectReference Include="..\Testcontainers.Pulsar.Tests\Testcontainers.Pulsar.Tests.csproj" />
54+
<ProjectReference Include="..\Testcontainers.RabbitMq.Tests\Testcontainers.RabbitMq.Tests.csproj" />
55+
<ProjectReference Include="..\Testcontainers.RavenDb.Tests\Testcontainers.RavenDb.Tests.csproj" />
56+
<ProjectReference Include="..\Testcontainers.Redis.Tests\Testcontainers.Redis.Tests.csproj" />
57+
<ProjectReference Include="..\Testcontainers.Redpanda.Tests\Testcontainers.Redpanda.Tests.csproj" />
58+
<ProjectReference Include="..\Testcontainers.ResourceReaper.Tests\Testcontainers.ResourceReaper.Tests.csproj" />
59+
<ProjectReference Include="..\Testcontainers.WebDriver.Tests\Testcontainers.WebDriver.Tests.csproj" />
60+
<ProjectReference Include="..\Testcontainers.Xunit.Tests\Testcontainers.Xunit.Tests.csproj" />
61+
<ProjectReference Remove="Testcontainers.Databases.Tests.csproj" />
1662
</ItemGroup>
1763
</Project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
root = true
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
using Microsoft.Extensions.Logging;
2+
using Seq.Api;
3+
using System;
4+
using System.Linq;
5+
6+
namespace Testcontainers.Seq;
7+
8+
public sealed class SeqContainerTest : IAsyncLifetime
9+
{
10+
private readonly SeqContainer _seqContainer = new SeqBuilder().Build();
11+
12+
public Task InitializeAsync()
13+
{
14+
return _seqContainer.StartAsync();
15+
}
16+
17+
public Task DisposeAsync()
18+
{
19+
return _seqContainer.DisposeAsync().AsTask();
20+
}
21+
22+
[Fact]
23+
[Trait(nameof(DockerCli.DockerPlatform), nameof(DockerCli.DockerPlatform.Linux))]
24+
public async Task CanLog()
25+
{
26+
var currentSeqApiPort = _seqContainer.GetMappedPublicPort(80);
27+
var currentSeqHostname = _seqContainer.Hostname;
28+
29+
ILoggerFactory loggerFactory = new LoggerFactory();
30+
loggerFactory.AddSeq(_seqContainer.GetServerApiUrl());
31+
var testLogger = loggerFactory.CreateLogger("testlogger");
32+
testLogger.LogInformation("TRY THIS");
33+
34+
var seqConnection = new SeqConnection(_seqContainer.GetServerApiUrl());
35+
var eventList = await seqConnection.Events.ListAsync(fromDateUtc: DateTime.Now.AddMinutes(-1));
36+
Assert.Contains(eventList, e => e.MessageTemplateTokens.Last().Text == "TRY THIS");
37+
}
38+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFrameworks>net8.0</TargetFrameworks>
4+
<IsPackable>false</IsPackable>
5+
<IsPublishable>false</IsPublishable>
6+
</PropertyGroup>
7+
<ItemGroup>
8+
<PackageReference Include="coverlet.collector">
9+
<PrivateAssets>all</PrivateAssets>
10+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
11+
</PackageReference>
12+
<PackageReference Include="Microsoft.Extensions.Logging" />
13+
<PackageReference Include="Microsoft.NET.Test.Sdk" />
14+
<PackageReference Include="Seq.Api" />
15+
<PackageReference Include="Seq.Extensions.Logging" />
16+
<PackageReference Include="xunit" />
17+
<PackageReference Include="xunit.runner.visualstudio">
18+
<PrivateAssets>all</PrivateAssets>
19+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
20+
</PackageReference>
21+
</ItemGroup>
22+
<ItemGroup>
23+
<ProjectReference Include="..\..\src\Testcontainers.Seq\Testcontainers.Seq.csproj" />
24+
<ProjectReference Include="..\Testcontainers.Commons\Testcontainers.Commons.csproj" />
25+
</ItemGroup>
26+
</Project>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
global using System.Threading.Tasks;
2+
global using DotNet.Testcontainers.Commons;
3+
global using Xunit;

0 commit comments

Comments
 (0)