Akka.TestKit 1.4.22

You need a Akka.TestKit.* package! Add the one appropriate for the test framework you use instead. For example: Akka.TestKit.Xunit or Akka.TestKit.VsTest. This package only contains base functionality for writing tests for the Akka.NET framework.

Install-Package Akka.TestKit -Version 1.4.22
dotnet add package Akka.TestKit --version 1.4.22
<PackageReference Include="Akka.TestKit" Version="1.4.22" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Akka.TestKit --version 1.4.22
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Akka.TestKit, 1.4.22"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Akka.TestKit as a Cake Addin
#addin nuget:?package=Akka.TestKit&version=1.4.22

// Install Akka.TestKit as a Cake Tool
#tool nuget:?package=Akka.TestKit&version=1.4.22
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Maintenance Release for Akka.NET 1.4**
Akka.NET v1.4.22 is a fairly large release that includes an assortment of performance and bug fixes.
Performance Fixes**
Akka.NET v1.4.22 includes a _significant_ performance improvement for `Ask<T>`, which now requires 1 internal `await` operation instead of 3:
Before*
|                        Method | Iterations |      Mean |     Error |    StdDev |     Gen 0 | Gen 1 | Gen 2 | Allocated |
|------------------------------ |----------- |----------:|----------:|----------:|----------:|------:|------:|----------:|
| RequestResponseActorSelection |      10000 | 83.313 ms | 0.7553 ms | 0.7065 ms | 4666.6667 |     - |     - |     19 MB |
|          CreateActorSelection |      10000 |  5.572 ms | 0.1066 ms | 0.1140 ms |  953.1250 |     - |     - |      4 MB |
After*
|                        Method | Iterations |      Mean |     Error |    StdDev |     Gen 0 | Gen 1 | Gen 2 | Allocated |
|------------------------------ |----------- |----------:|----------:|----------:|----------:|------:|------:|----------:|
| RequestResponseActorSelection |      10000 | 71.216 ms | 0.9885 ms | 0.9246 ms | 4285.7143 |     - |     - |     17 MB |
|          CreateActorSelection |      10000 |  5.462 ms | 0.0495 ms | 0.0439 ms |  953.1250 |     - |     - |      4 MB |
Bug Fixes and Improvements**
[Akka: Use ranged nuget versioning for Newtonsoft.Json](https://github.com/akkadotnet/akka.net/pull/5099)
[Akka: Pipe of Canceled Tasks](https://github.com/akkadotnet/akka.net/pull/5123)
[Akka: CircuitBreaker's Open state should return a faulted Task instead of throwing](https://github.com/akkadotnet/akka.net/issues/5117)
[Akka.Remote: Can DotNetty socket exception include information about the address?](https://github.com/akkadotnet/akka.net/issues/5130)
[Akka.Remote: log full exception upon deserialization failure](https://github.com/akkadotnet/akka.net/pull/5121)
[Akka.Cluster: SBR fix & update](https://github.com/akkadotnet/akka.net/pull/5147)
[Akka.Streams: Restart Source|Flow|Sink: Configurable stream restart deadline](https://github.com/akkadotnet/akka.net/pull/5122)
[Akka.DistributedData: ddata replicator stops but doesn't look like it can be restarted easily](https://github.com/akkadotnet/akka.net/pull/5145)
[Akka.DistributedData: ddata ReadMajorityPlus and WriteMajorityPlus](https://github.com/akkadotnet/akka.net/pull/5146)
[Akka.DistributedData: DData Max-Delta-Elements may not be fully honoured](https://github.com/akkadotnet/akka.net/issues/5157)
You can [see the full set of changes introduced in Akka.NET v1.4.22 here](https://github.com/akkadotnet/akka.net/milestone/52)
Akka.Cluster.Sharding.RepairTool**
In addition to the work done on Akka.NET itself, we've also created a separate tool for cleaning up any left-over data in the event of an Akka.Cluster.Sharding cluster running with `akka.cluster.sharding.state-store-mode=persistence` was terminated abruptly before it had a chance to cleanup.
We've added documentation to the Akka.NET website that explains how to use this tool here: https://getakka.net/articles/clustering/cluster-sharding.html#cleaning-up-akkapersistence-shard-state
And the tool itself has documentation here: https://github.com/petabridge/Akka.Cluster.Sharding.RepairTool
| COMMITS | LOC+ | LOC- | AUTHOR |
| --- | --- | --- | --- |
| 16 | 1254 | 160 | Gregorius Soedharmo |
| 7 | 104 | 83 | Aaron Stannard |
| 5 | 8 | 8 | dependabot[bot] |
| 4 | 876 | 302 | Ismael Hamed |
| 2 | 3942 | 716 | zbynek001 |
| 2 | 17 | 3 | Andreas Dirnberger |
| 1 | 187 | 2 | andyfurnival |
| 1 | 110 | 5 | Igor Fedchenko |

  • .NETStandard 2.0

NuGet packages (11)

Showing the top 5 NuGet packages that depend on Akka.TestKit:

Package Downloads
Akka.TestKit.Xunit2
TestKit for writing tests for Akka.NET using xUnit.
Akka.TestKit.NUnit3
TestKit for writing tests for Akka.NET using NUnit.
Akka.TestKit.Xunit
TestKit for writing tests for Akka.NET using xUnit.
Akka.TestKit.NUnit
TestKit for writing tests for Akka.NET using NUnit.
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on Akka.TestKit:

Repository Stars
neo-project/neo
NEO Smart Economy
Lutando/Akkatecture
a cqrs and event sourcing framework for dotnet core using akka.net
superquanter/quanter
从原来的StockTrader迁移过来
Horusiath/AkkaCQRS
Event sourcing example build on Akka.NET with persistence plugin

Version History

Version Downloads Last updated
1.4.22 0 8/5/2021
1.4.21 8,990 6/16/2021
1.4.21-beta1 424 6/4/2021
1.4.20 7,990 5/12/2021
1.4.19 4,770 4/28/2021
1.4.18 7,298 3/23/2021
1.4.17 3,859 3/10/2021
1.4.16 26,281 1/22/2021
1.4.15 2,681 1/20/2021
1.4.14 6,690 12/30/2020
1.4.13 2,497 12/16/2020
1.4.12 38,514 11/16/2020
1.4.11 8,595 11/5/2020
1.4.10 31,823 8/20/2020
1.4.9 23,897 7/21/2020
1.4.8 15,000 6/17/2020
1.4.7 17,278 5/27/2020
1.4.6 7,220 5/12/2020
1.4.5 8,893 4/29/2020
1.4.4 11,182 3/31/2020
1.4.3 6,370 3/18/2020
1.4.2 7,548 3/13/2020
1.4.1 1,946 3/11/2020
1.4.1-rc3 1,090 3/10/2020
1.4.1-rc2 798 3/10/2020
1.4.1-rc1 1,364 2/28/2020
1.4.0-beta4 1,808 1/28/2020
1.4.0-beta3 5,928 10/30/2019
1.4.0-beta2 2,338 9/23/2019
1.4.0-beta1 1,234 7/19/2019
1.3.18 9,308 3/9/2020
1.3.17 17,884 12/20/2019
1.3.16 17,560 11/14/2019
1.3.15 38,252 9/23/2019
1.3.14 25,807 7/30/2019
1.3.13 20,997 4/30/2019
1.3.12 17,033 3/14/2019
1.3.11 44,750 12/18/2018
1.3.10 35,708 11/2/2018
1.3.9 50,414 8/23/2018
1.3.8 66,799 6/5/2018
1.3.7 4,216 5/15/2018
1.3.6 7,903 4/17/2018
1.3.5 16,875 2/22/2018
1.3.4 7,238 2/1/2018
1.3.3 2,821 1/19/2018
1.3.2 43,882 10/21/2017
1.3.1 18,041 9/5/2017
1.3.0 8,926 8/11/2017
1.2.3 11,440 7/10/2017
1.2.2 2,153 6/28/2017
1.2.1 7,251 6/23/2017
1.2.0 11,064 4/12/2017
1.1.3 13,453 1/23/2017
1.1.2 29,323 9/22/2016
1.1.1 10,543 7/16/2016
1.1.0 2,720 7/7/2016
1.0.8 10,361 4/26/2016
1.0.7 16,387 4/6/2016
1.0.6 6,301 1/18/2016
1.0.5 3,433 12/3/2015
1.0.4 4,545 8/8/2015
1.0.3 4,026 6/12/2015
1.0.2 1,239 6/3/2015
1.0.1 1,280 4/28/2015
1.0.0 1,196 4/9/2015
1.0.0-dev1504032244 888 4/3/2015
0.8.0 1,144 2/12/2015
0.7.1 1,024 12/13/2014
0.7.0 1,295 10/20/2014