Skip to content

Commit

Permalink
Add TestKit and TestKit.Xunit2 to the api spec (#7060)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanpitangui authored Jan 12, 2024
1 parent 187caa9 commit 0782c7d
Show file tree
Hide file tree
Showing 6 changed files with 2,120 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/Akka.API.Tests/Akka.API.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
<ProjectReference Include="..\..\contrib\persistence\Akka.Persistence.Query.InMemory\Akka.Persistence.Query.InMemory.csproj" />
<ProjectReference Include="..\..\contrib\persistence\Akka.Persistence.Query.Sql\Akka.Persistence.Query.Sql.csproj" />
<ProjectReference Include="..\..\contrib\persistence\Akka.Persistence.Sql.Common\Akka.Persistence.Sql.Common.csproj" />
<ProjectReference Include="..\..\contrib\testkits\Akka.TestKit.Xunit2\Akka.TestKit.Xunit2.csproj" />
<ProjectReference Include="..\Akka.Coordination\Akka.Coordination.csproj" />
<ProjectReference Include="..\Akka.Discovery\Akka.Discovery.csproj" />
<ProjectReference Include="..\Akka.Persistence.Query\Akka.Persistence.Query.csproj" />
<ProjectReference Include="..\Akka.TestKit\Akka.TestKit.csproj" />
<ProjectReference Include="..\Akka\Akka.csproj" />
<ProjectReference Include="..\Akka.Cluster\Akka.Cluster.csproj" />
<ProjectReference Include="..\..\contrib\cluster\Akka.Cluster.Tools\Akka.Cluster.Tools.csproj" />
Expand Down
14 changes: 14 additions & 0 deletions src/core/Akka.API.Tests/CoreAPISpec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
using Akka.Persistence.Query.Sql;
using Akka.Persistence.Sql.Common.Journal;
using Akka.Streams;
using Akka.TestKit;
using VerifyXunit;

namespace Akka.API.Tests
Expand Down Expand Up @@ -124,5 +125,18 @@ public Task ApproveDiscovery()
{
return VerifyAssembly<Discovery.Lookup>();
}

[Fact]
public Task ApproveTestKit()
{
return VerifyAssembly<TestKitBase>();
}


[Fact]
public Task ApproveTestKitXunit2()
{
return VerifyAssembly<TestKit.Xunit2.TestKit>();
}
}
}
Loading

0 comments on commit 0782c7d

Please sign in to comment.