AsyncMrFlakey 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package AsyncMrFlakey --version 1.0.0                
NuGet\Install-Package AsyncMrFlakey -Version 1.0.0                
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="AsyncMrFlakey" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AsyncMrFlakey --version 1.0.0                
#r "nuget: AsyncMrFlakey, 1.0.0"                
#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.
// Install AsyncMrFlakey as a Cake Addin
#addin nuget:?package=AsyncMrFlakey&version=1.0.0

// Install AsyncMrFlakey as a Cake Tool
#tool nuget:?package=AsyncMrFlakey&version=1.0.0                

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.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0.1 320 9/3/2014
1.0.0 93 8/25/2014