Akka.TestKit 0.7.0

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.

Showing the top 20 packages that depend on Akka.TestKit.

Packages Downloads
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
43
Akka.Persistence.TestKit
TestKit for writing tests for Akka.NET Persistance module.
42
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
41
Akka.Persistence.TestKit
TestKit for writing tests for Akka.NET Persistance module.
40
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
40
Akka.Persistence.TestKit
TestKit for writing tests for Akka.NET Persistance module.
39
Akka.TestKit.Xunit2
TestKit for writing tests for Akka.NET using xUnit.
39
Akka.Persistence.TestKit
TestKit for writing tests for Akka.NET Persistance module.
38
Akka.TestKit.Xunit2
TestKit for writing tests for Akka.NET using xUnit.
38
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
38
Akka.Persistence.TestKit
TestKit for writing tests for Akka.NET Persistance module.
37
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
34
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
33
Akka.Persistence.TestKit
TestKit for writing tests for Akka.NET Persistance module.
33
Akka.Persistence.TestKit
TestKit for writing tests for Akka.NET Persistance module.
32
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
31

Major new changes and additions in this release, including some breaking changes... __Akka.Cluster__ Support (pre-release) - Akka.Cluster is now available on NuGet as a pre-release package (has a `-pre` suffix) and is available for testing. After installing the the Akka.Cluster module you can add take advantage of clustering via configuration, like so: akka { actor { provider = "Akka.Cluster.ClusterActorRefProvider, Akka.Cluster" } remote { log-remote-lifecycle-events = DEBUG helios.tcp { hostname = "127.0.0.1" port = 0 } } cluster { seed-nodes = [ "akka.tcp://ClusterSystem@127.0.0.1:2551", "akka.tcp://ClusterSystem@127.0.0.1:2552"] auto-down-unreachable-after = 10s } } And then use cluster-enabled routing on individual, named routers: /myAppRouter { router = consistent-hashing-pool nr-of-instances = 100 cluster { enabled = on max-nr-of-instances-per-node = 3 allow-local-routees = off use-role = backend } } For more information on how clustering works, please see https://github.com/akkadotnet/akka.net/pull/400 __Breaking Changes: Improved Stashing__ - The old `WithUnboundedStash` and `WithBoundedStash` interfaces have been slightly changed and the `CurrentStash` property has been renamed to `Stash`. Any old stashing code can be replaced with the following in order to continue working: public IStash CurrentStash { get { return Stash; } set { Stash=value; } } The `Stash` field is now automatically populated with an appropriate stash during the actor creation process and there is no need to set this field at all yourself. __Breaking Changes: Renamed Logger Namespaces__ - The namespaces, DLL names, and NuGet packages for all logger add-ons have been changed to `Akka.Loggers.Xyz`. Please install the latest NuGet package (and uninstall the old ones) and update your Akka HOCON configurations accordingly. __Serilog Support__ - Akka.NET now has an official [Serilog](http://serilog.net/) logger that you can install via the `Akka.Logger.Serilog` package. You can register the serilog logger via your HOCON configuration like this: loggers=["Akka.Logger.Serilog.SerilogLogger, Akka.Logger.Serilog"] __New Feature: Priority Mailbox__ - The `PriorityMailbox` allows you to define the priority of messages handled by your actors, and this is done by creating your own subclass of either the `UnboundedPriorityMailbox` or `BoundedPriorityMailbox` class and implementing the `PriorityGenerator` method like so: public class ReplayMailbox : UnboundedPriorityMailbox { protected override int PriorityGenerator(object message) { if (message is HttpResponseMessage) return 1; if (!(message is LoggedHttpRequest)) return 2; return 3; } } The smaller the return value from the `PriorityGenerator`, the higher the priority of the message. You can then configure your actors to use this mailbox via configuration, using a fully-qualified name: replay-mailbox { mailbox-type: "TrafficSimulator.PlaybackApp.Actors.ReplayMailbox,TrafficSimulator.PlaybackApp" } And from this point onward, any actor can be configured to use this mailbox via `Props`: Context.ActorOf(Props.Create<ReplayActor>() .WithRouter(new RoundRobinPool(3)) .WithMailbox("replay-mailbox")); __New Feature: Test Your Akka.NET Apps Using Akka.TestKit__ - We've refactored the testing framework used for testing Akka.NET's internals into a test-framework-agnostic NuGet package you can use for unit and integration testing your own Akka.NET apps. Right now we're scarce on documentation so you'll want to take a look at the tests inside the Akka.NET source for reference. Right now we have Akka.TestKit adapters for both MSTest and XUnit, which you can install to your own project via the following: MSTest: install-package Akka.TestKit.VsTest XUnit: install-package Akka.TestKit.Xunit

Any 0.0

Version Downloads Last updated
1.5.42 7 05/23/2025
1.5.41 5 05/17/2025
1.5.40 15 03/31/2025
1.5.39 15 03/16/2025
1.5.38 23 02/18/2025
1.5.37 14 01/27/2025
1.5.36 24 01/27/2025
1.5.35 16 01/19/2025
1.5.34 21 01/14/2025
1.5.33 21 01/14/2025
1.5.32 17 12/08/2024
1.5.31 14 11/18/2024
1.5.30 20 10/06/2024
1.5.29 21 10/06/2024
1.5.28 21 09/05/2024
1.5.28-beta1 23 08/24/2024
1.5.27.1 16 07/26/2024
1.5.27 29 07/26/2024
1.5.27-beta2 18 07/05/2024
1.5.27-beta1 32 07/05/2024
1.5.26 20 06/28/2024
1.5.25 201 06/25/2024
1.5.24 25 06/07/2024
1.5.23 26 06/07/2024
1.5.22 25 06/07/2024
1.5.21 22 06/07/2024
1.5.20 24 04/30/2024
1.5.19 15 04/30/2024
1.5.18 28 03/13/2024
1.5.17.1 33 03/13/2024
1.5.17 34 03/13/2024
1.5.16 35 02/20/2024
1.5.15 15 01/12/2024
1.5.14 23 01/13/2024
1.5.13 25 01/13/2024
1.5.13-beta1 23 01/14/2024
1.5.12 23 10/13/2024
1.5.11 21 06/13/2024
1.5.10 25 10/09/2024
1.5.9 23 07/22/2024
1.5.8 26 03/19/2024
1.5.7 33 06/13/2023
1.5.6 29 06/13/2023
1.5.5 29 06/14/2023
1.5.4 24 06/13/2023
1.5.3 18 06/12/2023
1.5.2 26 06/12/2023
1.5.1 20 06/12/2023
1.5.0 27 06/12/2023
1.5.0-beta6 29 08/25/2023
1.5.0-beta5 22 08/28/2023
1.5.0-beta4 22 08/31/2023
1.5.0-beta3 28 08/26/2023
1.5.0-beta2 33 08/29/2023
1.5.0-beta1 31 08/25/2023
1.5.0-alpha4 21 08/26/2023
1.5.0-alpha3 24 08/24/2023
1.5.0-alpha2 21 08/25/2023
1.5.0-alpha1 19 12/27/2023
1.4.51 23 08/27/2023
1.4.50 20 05/22/2024
1.4.49 24 04/09/2024
1.4.49-beta1 23 08/28/2023
1.4.48 26 04/02/2024
1.4.47 19 07/21/2024
1.4.46 27 08/31/2023
1.4.45 27 08/28/2023
1.4.44 25 07/25/2024
1.4.43 23 03/19/2024
1.4.42 26 10/13/2024
1.4.41 24 10/07/2024
1.4.40 26 08/26/2023
1.4.39 24 08/30/2023
1.4.38 23 08/20/2024
1.4.37 25 02/20/2024
1.4.36 25 08/17/2024
1.4.35 26 02/20/2024
1.4.34 15 10/13/2024
1.4.33 18 04/26/2024
1.4.32 16 10/13/2024
1.4.31 26 05/06/2022
1.4.30 29 07/29/2024
1.4.29 19 08/28/2023
1.4.28 26 08/29/2023
1.4.27 19 10/13/2024
1.4.26 22 03/12/2024
1.4.25 23 08/29/2023
1.4.24 27 09/03/2024
1.4.23 24 10/13/2024
1.4.22 18 03/31/2024
1.4.21 26 08/24/2023
1.4.21-beta1 25 08/25/2023
1.4.20 16 08/27/2023
1.4.19 26 09/20/2024
1.4.18 19 07/31/2024
1.4.17 28 01/27/2024
1.4.16 20 07/23/2024
1.4.15 28 08/31/2023
1.4.14 28 02/20/2024
1.4.13 25 08/27/2023
1.4.12 26 08/28/2023
1.4.11 24 02/20/2024
1.4.10 15 08/25/2023
1.4.9 28 06/13/2023
1.4.8 28 06/12/2023
1.4.7 31 06/12/2023
1.4.6 27 06/11/2023
1.4.5 26 06/13/2023
1.4.4 30 06/12/2023
1.4.3 20 06/12/2023
1.4.2 27 06/13/2023
1.4.1 201 06/12/2023
1.4.1-rc3 203 06/27/2024
1.4.1-rc2 201 06/27/2024
1.4.1-rc1 201 06/27/2024
1.4.0-beta4 211 08/26/2023
1.4.0-beta3 212 08/30/2023
1.4.0-beta2 212 08/26/2023
1.4.0-beta1 208 08/28/2023
1.3.19 215 05/03/2024
1.3.18 208 06/27/2024
1.3.17 206 06/27/2024
1.3.16 206 06/27/2024
1.3.15 209 08/29/2023
1.3.14 202 08/26/2023
1.3.13 197 06/27/2024
1.3.12 208 04/11/2024
1.3.11 204 02/20/2024
1.3.10 204 03/18/2024
1.3.9 209 06/12/2023
1.3.8 207 06/13/2023
1.3.7 207 12/27/2023
1.3.6 198 06/13/2023
1.3.5 196 06/27/2024
1.3.4 208 06/12/2023
1.3.3 206 06/13/2023
1.3.2 211 06/13/2023
1.3.1 195 06/27/2024
1.3.0 213 06/12/2023
1.2.3 206 06/13/2023
1.2.2 204 06/12/2023
1.2.1 204 06/11/2023
1.2.0 201 06/14/2023
1.1.3 201 06/12/2023
1.1.2 210 06/12/2023
1.1.1 204 06/13/2023
1.1.0 203 06/13/2023
1.0.8 197 06/13/2023
1.0.7 198 06/13/2023
1.0.6 206 06/11/2023
1.0.5 206 06/12/2023
1.0.4 199 06/12/2023
1.0.3 207 06/12/2023
1.0.2 205 06/13/2023
1.0.1 210 06/12/2023
1.0.0 207 06/12/2023
1.0.0-dev1504032244 204 08/28/2023
0.8.0 201 06/12/2023
0.7.1 198 06/11/2023
0.7.0 205 06/13/2023