Akka.TestKit.Xunit2 1.5.76

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Akka.TestKit.Xunit2 --version 1.5.76
                    
NuGet\Install-Package Akka.TestKit.Xunit2 -Version 1.5.76
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Akka.TestKit.Xunit2" Version="1.5.76" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Akka.TestKit.Xunit2" Version="1.5.76" />
                    
Directory.Packages.props
<PackageReference Include="Akka.TestKit.Xunit2" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Akka.TestKit.Xunit2 --version 1.5.76
                    
#r "nuget: Akka.TestKit.Xunit2, 1.5.76"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Akka.TestKit.Xunit2@1.5.76
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Akka.TestKit.Xunit2&version=1.5.76
                    
Install as a Cake Addin
#tool nuget:?package=Akka.TestKit.Xunit2&version=1.5.76
                    
Install as a Cake Tool

Akka.NET

Akka.NET logo

Discord NuGet Nuget

Akka.NET is a .NET port of the popular Akka project from the Scala / Java community. We are an idiomatic .NET implementation of the actor model built on top of the .NET Common Language Runtime.

Akka.NET is a .NET Foundation project.

.NET Foundation Logo

How is Akka.NET Used?

Akka.NET can be used in-process or inside large, distributed real-time systems; we support a wide variety of use cases.

Akka.NET can be used to solve the following types of problems:

  1. Concurrency - Akka.NET actors only process messages one-at-a-time and they do so in first in, first out (FIFO) order; this means that any application state internal to an actor is automatically thread-safe without having to use locks or any other shared-memory synchronization mechanisms.
  2. Stream Processing - Akka.NET actors and Akka.Streams make it easy to build streaming applications, used for processing incoming streams of data or incoming streams of live events such as UI or network events inside native applications.
  3. Event-Driven Programming - actors make it easy to build event-driven applications, as actors' message-processing routines naturally express these types of designs.
  4. Event Sourcing and CQRS - Akka.Persistence, used by actors to make their state re-entrant and recoverable across restarts or migrations between nodes, natively supports event sourcing. Akka.Persistence.Query can be used to compute CQRS-style projections and materialized views from Akka.Persistence data.
  5. Location Transparency - Akka.Remote makes it simple for actors in remote processes to transparently communicate with each other.
  6. Highly Available, Fault-Tolerant Distributed Systems - Akka.Cluster, Akka.Cluster.Sharding, and other tools built on top of Akka.Cluster make it possible to build highly available and fault-tolerant distributed systems by leveraging peer-to-peer programming models with topology-aware message routing and distribution.
  7. Low Latency, High Throughput - Akka.NET aims to be low latency and high throughput, processing 10s millions of messages per second in-memory and hundreds of thousands of messages per second over remote connections.

Where Can I Learn Akka.NET?

You can start by taking the Akka.NET Bootcamp, but there are many other great learning resources for Akka.NET Online.

Build Status

Stage Status
NuGet Pack Build Status
.NET Framework Unit Tests Build Status
.NET Unit Tests (Windows) Build Status
.NET Unit Tests (Linux) Build Status
.NET MultiNode Tests (Windows) Build Status
.NET MultiNode Tests (Linux) Build Status
Docs Build Status

Install Akka.NET via NuGet

If you want to include Akka.NET in your project, you can install it directly from NuGet

To install Akka.NET Distributed Actor Framework, run the following command in the Package Manager Console

PM> Install-Package Akka.Hosting

Akka.Hosting includes the base Akka NuGet package and also provides an easy interface to integrate Akka.NET with the most-used parts of the Microsoft.Extensions ecosystem: Configuration, Logging, Hosting, and DependencyInjection. We encourage developers to adopt it.

And if you need F# support:

PM> Install-Package Akka.FSharp

Akka.NET Project Templates

To create your own Akka.NET projects using our templates (Akka.Templates), install them via the dotnet CLI:

dotnet new install "Akka.Templates::*"

This will make our templates available via dotnet new on the CLI and as new project templates inside any .NET IDE such as Visual Studio or JetBrains Rider. You can view the full list of templates included in our package here: https://github.com/akkadotnet/akkadotnet-templates#available-templates

Builds

Please see Building Akka.NET.

To access nightly Akka.NET builds, please see the instructions here.

Support

If you need help getting started with Akka.NET, there's a number of great community resources online:

If you and your company are interested in getting professional Akka.NET support, you can contact Petabridge for dedicated Akka.NET support.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (13)

Showing the top 5 NuGet packages that depend on Akka.TestKit.Xunit2:

Package Downloads
Akka.Persistence.TestKit.Xunit2

TestKit for writing tests for Akka.NET Persistance module using xUnit

Akka.DI.TestKit

Dependency Injection (DI) TestKit support for Akka.NET

Akkling.TestKit

F# wrapper library for Akka.NET TestKit library using FsCheck and xUnit.

EventFly.TestFixture

bdd style test fixtures for EventFly

SeungYongShim.Akka.DependencyInjection.XUnit2

Package Description

GitHub repositories (7)

Showing the top 7 popular GitHub repositories that depend on Akka.TestKit.Xunit2:

Repository Stars
petabridge/akka-bootcamp
Self-paced training course to learn Akka.NET fundamentals from scratch
ThembisileNGQ/Akkatecture
a cqrs and event sourcing framework for dotnet core using akka.net
akkadotnet/Hyperion
Polymorphic serialization for .NET
Aaronontheweb/InMemoryCQRSReplication
Akka.NET Reference Architecture - CQRS + Sharding + In-Memory Replication
superquanter/quanter
从原来的StockTrader迁移过来
akkadotnet/Alpakka
Akka Streams Connectors - Alpakka
Horusiath/AkkaCQRS
Event sourcing example build on Akka.NET with persistence plugin
Version Downloads Last Updated
1.6.0-beta8 755 2026/11/18
1.6.0-beta7 1,070 2026/11/10
1.6.0-beta6 189 2026/11/7
1.6.0-beta5 215 2026/11/4
1.6.0-beta4 164 2026/10/28
1.6.0-beta3 190 2026/10/7
1.6.0-beta2 169 2026/10/6
1.6.0-beta1 214 2026/10/2
1.5.76 0 2026/11/30
1.5.75 1,067 2026/11/16
1.5.74 2,732 2026/11/5
1.5.73 7,998 2026/10/5
1.5.72 537 2026/10/3
1.5.71 10,154 2026/8/27
1.5.70 51,142 2026/7/3
1.5.70-beta2 369 2026/6/30
1.5.70-beta1 385 2026/6/23
1.5.69 22,573 2026/6/12
1.5.68 19,398 2026/5/17
1.5.67 20,248 2026/4/26
Loading failed

Akka.NET v1.5.76 adds opt-in retry-until-acknowledged delivery for Akka.Reminders, makes the split-brain resolver down a node that a cluster member has quarantined, and fixes two cluster bugs where a restarted node's new incarnation could be dropped by its peers.

**Akka.Reminders**
* [Add opt-in retry-until-acknowledged delivery](https://github.com/akkadotnet/akka.net/pull/8977) - One-off reminders can now retry until they are acknowledged instead of stopping after the scheduler's configured attempt limit. Pass `ReminderRetryPolicy.UntilAcknowledged` to `ScheduleSingleReminderAsync`; the default stays `UseConfiguredAttemptLimit`, so existing calls keep bounded delivery. The policy is stored per reminder in a new `retry_policy` column. With `AutoInitialize = true` the provider adds the column itself. With `AutoInitialize = false` an existing database keeps working with bounded delivery, logs a warning, and rejects an explicit `UntilAcknowledged` request rather than silently downgrading it. Migration scripts for SQL Server, PostgreSQL and SQLite ship in `src/contrib/reminders/docs/migrations/retry-policy/`. **Upgrade note:** an older scheduler ignores the policy column and can exhaust delivery attempts for opted-in reminders, so upgrade every node that can host the scheduler before enabling the feature.

**Akka.Cluster**
* [SBR downs this node when a cluster member quarantines it](https://github.com/akkadotnet/akka.net/pull/9003) - A node that the rest of the cluster downed and removed while it was frozen or paused never learned it was removed: its peers quarantined it and stopped talking to it, and it never saw itself as Down. With lease-majority it could even take the released lease, down everyone else, and run on as a cluster of one that new nodes could join. The split-brain resolver now downs this node as soon as a current cluster member quarantines it, without waiting for `stable-after`. Quarantines from non-members, unknown UIDs, and members that are leaving, exiting or down are ignored, as are quarantines while this node is leaving. Controlled by the new setting `akka.cluster.split-brain-resolver.down-self-when-quarantined-by-member`, on by default. `ThisActorSystemQuarantinedEvent` gains a `RemoteUid` property and constructor; the old constructor is kept.
* [Publish `MemberRemoved` before member additions in `DiffMemberEvents`](https://github.com/akkadotnet/akka.net/pull/8995) - When one gossip diff replaced an incarnation at the same host:port, the new member's event was emitted before `MemberRemoved` for the old one. Subscribers that track members by `Address` — the DistributedData replicator, `ClusterRemoteWatcher`, `ClusterReceptionist`, and user code — added the new address and then removed it, dropping the live incarnation. Removals are now emitted first, matching Apache Pekko. Fixes [#8993](https://github.com/akkadotnet/akka.net/issues/8993).

**Akka.DistributedData**
* [Track replicas by `UniqueAddress` in the `Replicator`](https://github.com/akkadotnet/akka.net/pull/8997) - The replicator kept its member sets and unreachable set keyed by `Address`, so it could not tell two incarnations of one host:port apart. When a node restarted on the same address, the removal deleted the address the new incarnation had just added, and the replicator then dropped every `Read` and `Write` from the new incarnation as coming from an unknown node. Member tracking is now keyed by `UniqueAddress`, and one address never counts twice toward a majority. No wire-format or public API change. Fixes [#8994](https://github.com/akkadotnet/akka.net/issues/8994) and [#8991](https://github.com/akkadotnet/akka.net/issues/8991).

**Akka.TestKit**
* [Make `TestScheduler.Advance` safe when two threads call it at once](https://github.com/akkadotnet/akka.net/pull/8992) - Two threads calling `Advance` could pick the same slot, so one threw `ArgumentNullException`, both delivered the same items, and the unsynchronized clock update could lose time. `Advance`, `AdvanceTo` and scheduling now share one lock, and `Advance` claims each due slot before running its items, so a nested `Advance` from inside an action cannot run them again.

**Akka.Remote / TLS**
* [Avoid duplicate TLS certificate warnings after concurrent callbacks](https://github.com/akkadotnet/akka.net/pull/9016) - Concurrent certificate callbacks can finish in reverse start order. Each caller read the clock before its callback ran, so a delayed caller looked like the clock had gone backwards to the warning limiter, and the same fallback warning was logged twice inside the 5-minute suppression window. The clock is now read inside the limiter's lock. Affects DotNetty TLS with a certificate callback (`TlsCertificateSource.FromCallback`).

1 contributor since release 1.5.75

| COMMITS | LOC+ | LOC- | AUTHOR |
| --- | --- | --- | --- |
| 9 | 3025 | 500 | Aaron Stannard |

To see the full set of changes in Akka.NET v1.5.76, [click here](https://github.com/akkadotnet/akka.net/milestone/159?closed=1).