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

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