Akka.TestKit.VsTest 0.7.1

TestKit for writing tests for Akka.NET using Visual Studio Unit Testing Framework.

There is a newer version of this package available.
See the version list below for details.
Install-Package Akka.TestKit.VsTest -Version 0.7.1
dotnet add package Akka.TestKit.VsTest --version 0.7.1
<PackageReference Include="Akka.TestKit.VsTest" 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.VsTest --version 0.7.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Akka.TestKit.VsTest, 0.7.1"
#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.VsTest as a Cake Addin
#addin nuget:?package=Akka.TestKit.VsTest&version=0.7.1

// Install Akka.TestKit.VsTest as a Cake Tool
#tool nuget:?package=Akka.TestKit.VsTest&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).

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.3.2 18,996 10/31/2017
1.2.0 7,344 5/12/2017
1.1.1 5,422 7/18/2016
1.0.8 959 7/4/2016
1.0.7 15,743 4/7/2016
1.0.6 1,553 1/18/2016
1.0.5 917 12/3/2015
1.0.4 1,708 8/8/2015
1.0.3 2,472 6/12/2015
1.0.2 806 6/3/2015
1.0.1 854 4/28/2015
1.0.0 804 4/9/2015
1.0.0-dev1504032244 792 4/3/2015
0.8.0 892 2/12/2015
0.7.1 888 12/13/2014
0.7.0 901 10/20/2014
Show less