- last updated 8 day(s) ago
- 2829 daily downloads
- 1136113 total downloads
- Latest version: 2.5.1
Phobos.TestKit 1.3.2
Framework used for testing applications that have been instrumented using Phobos. Makes it feasible to test using data collected from actor traces, monitoring, and so forth.
Install-Package Phobos.TestKit -Version 1.3.2
dotnet add package Phobos.TestKit --version 1.3.2
<PackageReference Include="Phobos.TestKit" Version="1.3.2"/>
paket add Phobos.TestKit --version 1.3.2
Release Notes
Minor Version Release for Phobos** Phobos v1.3.2 includes some important tracing enhancements brought about as a result of [upgrading Phobos to Akka.NET v1.4.31](https://github.com/akkadotnet/akka.net/releases/tag/1.4.31): Phobos now supports tracing the output of `PipeTo` operations! This can be accomplished by making sure that the `Sender` property of the `PipeTo` operation contains a reference to the actor kicking of the `Task<T>` whose results will be piped: ```csharp var myActor = Sys.ActorOf(act => { act.ReceiveAny((o, ctx) => { // won't capture trace - no "sender" included Task.Delay(TimeSpan.FromMilliseconds(100)).PipeTo(ctx.Sender, success: () => o); // will capture trace - "Sender" is specified Task.Delay(TimeSpan.FromMilliseconds(100)).PipeTo(ctx.Sender, success: () => o, sender:ctx.Self); }); }); ```
Dependencies
.NETStandard
- Phobos.Actor (>=1.3.2)
- Akka.TestKit.Xunit2 (>=1.4.31)
- FluentAssertions (>=6.2.0)
- xunit (>=2.4.1)
Versions
Info
- last updated 828 day(s) ago
- Project Site
- License Info
Statistics
- 4858 total downloads
- 2 downloads of current version
Owners and Products
PetabridgeAuthors
Petabridge
Copyright
Copyright © 2017-2021 Petabridge
Petabridge