AsyncMrFlakey 1.0.0.1

Mr Flakey provides easy way to do ad-hoc testing of network failure of your async calls.
     
(1) Add the NuGet package

(2) On any async network call that might fail and you want to test, stick a call to the Flakey extension method. For instance "Await DownloadAsync().Flakey()"

(3) For ad-hoc testing, put a call to MrFlakey.Start() somewhere e.g. in MainPage.xaml construction. To stop using Mr Flakey, remove this call.

This way, every .Flakey() thing you await will give the tester the chance - within the app's UI - to simulate failure of the async operation.

Install-Package AsyncMrFlakey -Version 1.0.0.1
dotnet add package AsyncMrFlakey --version 1.0.0.1
<PackageReference Include="AsyncMrFlakey" Version="1.0.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AsyncMrFlakey --version 1.0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AsyncMrFlakey, 1.0.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install AsyncMrFlakey as a Cake Addin
#addin nuget:?package=AsyncMrFlakey&version=1.0.0.1

// Install AsyncMrFlakey as a Cake Tool
#tool nuget:?package=AsyncMrFlakey&version=1.0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Dependencies

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0.1 1,407 9/3/2014
1.0.0 1,038 8/25/2014