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
33
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
30
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
29
Akka.Persistence.TestKit
TestKit for writing tests for Akka.NET Persistance module.
29
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
28
Akka.Persistence.TestKit
TestKit for writing tests for Akka.NET Persistance module.
26
Akka.TestKit.Xunit2
TestKit for writing tests for Akka.NET using xUnit.
26
Akka.Persistence.TestKit
TestKit for writing tests for Akka.NET Persistance module.
24
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
23
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
22
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
21
Akka.Persistence.TestKit
TestKit for writing tests for Akka.NET Persistance module.
20
Akka.TestKit.Xunit2
TestKit for writing tests for Akka.NET using xUnit.
20
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
19
Akka.TestKit.Xunit2
TestKit for writing tests for Akka.NET using xUnit.
19

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://[email protected]:2551", "akka.tcp://[email protected]: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.38 5 02/18/2025
1.5.37 4 01/27/2025
1.5.36 5 01/27/2025
1.5.35 5 01/19/2025
1.5.34 4 01/14/2025
1.5.33 5 01/14/2025
1.5.32 6 12/08/2024
1.5.31 4 11/18/2024
1.5.30 9 10/06/2024
1.5.29 4 10/06/2024
1.5.28 11 09/05/2024
1.5.28-beta1 9 08/24/2024
1.5.27.1 7 07/26/2024
1.5.27 10 07/26/2024
1.5.27-beta2 7 07/05/2024
1.5.27-beta1 11 07/05/2024
1.5.26 9 06/28/2024
1.5.25 189 06/25/2024
1.5.24 6 06/07/2024
1.5.23 8 06/07/2024
1.5.22 6 06/07/2024
1.5.21 5 06/07/2024
1.5.20 10 04/30/2024
1.5.19 6 04/30/2024
1.5.18 10 03/13/2024
1.5.17.1 17 03/13/2024
1.5.17 14 03/13/2024
1.5.16 15 02/20/2024
1.5.15 5 01/12/2024
1.5.14 6 01/13/2024
1.5.13 9 01/13/2024
1.5.13-beta1 10 01/14/2024
1.5.12 3 10/13/2024
1.5.11 5 06/13/2024
1.5.10 7 10/09/2024
1.5.9 7 07/22/2024
1.5.8 8 03/19/2024
1.5.7 12 06/13/2023
1.5.6 11 06/13/2023
1.5.5 12 06/14/2023
1.5.4 11 06/13/2023
1.5.3 7 06/12/2023
1.5.2 7 06/12/2023
1.5.1 9 06/12/2023
1.5.0 9 06/12/2023
1.5.0-beta6 11 08/25/2023
1.5.0-beta5 9 08/28/2023
1.5.0-beta4 9 08/31/2023
1.5.0-beta3 7 08/26/2023
1.5.0-beta2 11 08/29/2023
1.5.0-beta1 11 08/25/2023
1.5.0-alpha4 11 08/26/2023
1.5.0-alpha3 8 08/24/2023
1.5.0-alpha2 8 08/25/2023
1.5.0-alpha1 7 12/27/2023
1.4.51 10 08/27/2023
1.4.50 9 05/22/2024
1.4.49 5 04/09/2024
1.4.49-beta1 10 08/28/2023
1.4.48 5 04/02/2024
1.4.47 8 07/21/2024
1.4.46 8 08/31/2023
1.4.45 5 08/28/2023
1.4.44 5 07/25/2024
1.4.43 6 03/19/2024
1.4.42 6 10/13/2024
1.4.41 5 10/07/2024
1.4.40 14 08/26/2023
1.4.39 7 08/30/2023
1.4.38 10 08/20/2024
1.4.37 6 02/20/2024
1.4.36 8 08/17/2024
1.4.35 5 02/20/2024
1.4.34 5 10/13/2024
1.4.33 6 04/26/2024
1.4.32 4 10/13/2024
1.4.31 9 05/06/2022
1.4.30 10 07/29/2024
1.4.29 10 08/28/2023
1.4.28 8 08/29/2023
1.4.27 5 10/13/2024
1.4.26 8 03/12/2024
1.4.25 8 08/29/2023
1.4.24 7 09/03/2024
1.4.23 6 10/13/2024
1.4.22 8 03/31/2024
1.4.21 8 08/24/2023
1.4.21-beta1 7 08/25/2023
1.4.20 5 08/27/2023
1.4.19 7 09/20/2024
1.4.18 8 07/31/2024
1.4.17 10 01/27/2024
1.4.16 7 07/23/2024
1.4.15 9 08/31/2023
1.4.14 11 02/20/2024
1.4.13 11 08/27/2023
1.4.12 8 08/28/2023
1.4.11 12 02/20/2024
1.4.10 7 08/25/2023
1.4.9 10 06/13/2023
1.4.8 8 06/12/2023
1.4.7 11 06/12/2023
1.4.6 7 06/11/2023
1.4.5 8 06/13/2023
1.4.4 8 06/12/2023
1.4.3 7 06/12/2023
1.4.2 8 06/13/2023
1.4.1 190 06/12/2023
1.4.1-rc3 185 06/27/2024
1.4.1-rc2 190 06/27/2024
1.4.1-rc1 188 06/27/2024
1.4.0-beta4 190 08/26/2023
1.4.0-beta3 194 08/30/2023
1.4.0-beta2 190 08/26/2023
1.4.0-beta1 191 08/28/2023
1.3.19 207 05/03/2024
1.3.18 188 06/27/2024
1.3.17 187 06/27/2024
1.3.16 187 06/27/2024
1.3.15 191 08/29/2023
1.3.14 188 08/26/2023
1.3.13 187 06/27/2024
1.3.12 190 04/11/2024
1.3.11 188 02/20/2024
1.3.10 187 03/18/2024
1.3.9 189 06/12/2023
1.3.8 187 06/13/2023
1.3.7 189 12/27/2023
1.3.6 187 06/13/2023
1.3.5 188 06/27/2024
1.3.4 189 06/12/2023
1.3.3 194 06/13/2023
1.3.2 192 06/13/2023
1.3.1 184 06/27/2024
1.3.0 193 06/12/2023
1.2.3 187 06/13/2023
1.2.2 191 06/12/2023
1.2.1 191 06/11/2023
1.2.0 192 06/14/2023
1.1.3 189 06/12/2023
1.1.2 191 06/12/2023
1.1.1 192 06/13/2023
1.1.0 186 06/13/2023
1.0.8 187 06/13/2023
1.0.7 187 06/13/2023
1.0.6 189 06/11/2023
1.0.5 188 06/12/2023
1.0.4 186 06/12/2023
1.0.3 189 06/12/2023
1.0.2 191 06/13/2023
1.0.1 189 06/12/2023
1.0.0 190 06/12/2023
1.0.0-dev1504032244 189 08/28/2023
0.8.0 189 06/12/2023
0.7.1 189 06/11/2023
0.7.0 187 06/13/2023