Akka.TestKit 0.7.1

You need a Akka.TestKit.* package! Add the one appropiate 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.

There is a newer version of this package available.
See the version list below for details.
Install-Package Akka.TestKit -Version 0.7.1
dotnet add package Akka.TestKit --version 0.7.1
<PackageReference Include="Akka.TestKit" Version="0.7.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Akka.TestKit --version 0.7.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

__Brand New F# API__. The entire F# API has been updated to give it a more native F# feel while still holding true to the Erlang / Scala conventions used in actor systems. [Read more about the F# API changes](https://github.com/akkadotnet/akka.net/pull/526).
__Multi-Node TestKit (Alpha)__. Not available yet as a NuGet package, but the first pass at the Akka.Remote.TestKit is now available from source, which allow you to test your actor systems running on multiple machines or processes.
A multi-node test looks like this
public class InitialHeartbeatMultiNode1 : InitialHeartbeatSpec
{
}
public class InitialHeartbeatMultiNode2 : InitialHeartbeatSpec
{
}
public class InitialHeartbeatMultiNode3 : InitialHeartbeatSpec
{
}
public abstract class InitialHeartbeatSpec : MultiNodeClusterSpec
The MultiNodeTestRunner looks at this, works out that it needs to create 3 processes to run 3 nodes for the test.
It executes NodeTestRunner in each process to do this passing parameters on the command line. [Read more about the multi-node testkit here](https://github.com/akkadotnet/akka.net/pull/497).
__Breaking Change to the internal api: The `Next` property on `IAtomicCounter<T>` has been changed into the function `Next()`__ This was done as it had side effects, i.e. the value was increased when the getter was called. This makes it very hard to debug as the debugger kept calling the property and causing the value to be increased.
__Akka.Serilog__ `SerilogLogMessageFormatter` has been moved to the namespace `Akka.Logger.Serilog` (it used to be in `Akka.Serilog.Event.Serilog`).
Update your `using` statements from `using Akka.Serilog.Event.Serilog;` to `using Akka.Logger.Serilog;`.
__Breaking Change to the internal api: Changed signatures in the abstract class `SupervisorStrategy`__. The following methods has new signatures: `HandleFailure`, `ProcessFailure`. If you've inherited from `SupervisorStrategy`, `OneForOneStrategy` or `AllForOneStrategy` and overriden the aforementioned methods you need to update their signatures.
__TestProbe can be implicitly casted to ActorRef__. New feature. Tests requring the `ActorRef` of a `TestProbe` can now be simplified:
``` C#
var probe = CreateTestProbe();
var sut = ActorOf<GreeterActor>();
sut.Tell("Akka", probe); // previously probe.Ref was required
probe.ExpectMsg("Hi Akka!");
```
__Bugfix for ConsistentHashableEvenlope__. When using `ConsistentHashableEvenlope` in conjunction with `ConsistentHashRouter`s, `ConsistentHashableEvenlope` now correctly extracts its inner message instead of sending the entire `ConsistentHashableEvenlope` directly to the intended routee.
__Akka.Cluster group routers now work as expected__. New update of Akka.Cluster - group routers now work as expected on cluster deployments. Still working on pool routers. [Read more about Akka.Cluster routers here](https://github.com/akkadotnet/akka.net/pull/489).

Showing the top 4 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

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
1.4.7 0 5/27/2020
1.4.6 1,661 5/12/2020
1.4.5 2,765 4/29/2020
1.4.4 5,652 3/31/2020
1.4.3 2,196 3/18/2020
1.4.2 3,054 3/13/2020
1.4.1 1,035 3/11/2020
1.4.1-rc3 327 3/10/2020
1.4.1-rc2 63 3/10/2020
1.4.1-rc1 597 2/28/2020
1.4.0-beta4 970 1/28/2020
1.4.0-beta3 3,420 10/30/2019
1.4.0-beta2 1,315 9/23/2019
1.4.0-beta1 457 7/19/2019
1.3.18 649 3/9/2020
1.3.17 10,087 12/20/2019
1.3.16 12,875 11/14/2019
1.3.15 26,048 9/23/2019
1.3.14 14,432 7/30/2019
1.3.13 15,862 4/30/2019
1.3.12 12,179 3/14/2019
1.3.11 28,320 12/18/2018
1.3.10 32,852 11/2/2018
1.3.9 47,267 8/23/2018
1.3.8 41,505 6/5/2018
1.3.7 3,031 5/15/2018
1.3.6 6,724 4/17/2018
1.3.5 13,874 2/22/2018
1.3.4 6,370 2/1/2018
1.3.3 1,963 1/19/2018
1.3.2 37,836 10/21/2017
1.3.1 15,986 9/5/2017
1.3.0 6,035 8/11/2017
1.2.3 7,434 7/10/2017
1.2.2 1,200 6/28/2017
1.2.1 5,280 6/23/2017
1.2.0 9,354 4/12/2017
1.1.3 11,703 1/23/2017
1.1.2 26,501 9/22/2016
1.1.1 8,311 7/16/2016
1.1.0 1,807 7/7/2016
1.0.8 9,362 4/26/2016
1.0.7 14,216 4/6/2016
1.0.6 4,964 1/18/2016
1.0.5 2,588 12/3/2015
1.0.4 3,796 8/8/2015
1.0.3 3,491 6/12/2015
1.0.2 624 6/3/2015
1.0.1 843 4/28/2015
1.0.0 793 4/9/2015
1.0.0-dev1504032244 509 4/3/2015
0.8.0 722 2/12/2015
0.7.1 631 12/13/2014
0.7.0 796 10/20/2014
Show less