TeePee 1.0.15-alpha

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

// Install TeePee as a Cake Tool
#tool nuget:?package=TeePee&version=1.0.15-alpha&prerelease                

TeePee

A fluent API to configure HttpClients for unit testing.

var teePeeBuilder = new TeePeeBuilder();

teePeeBuilder.ForRequest("https://some.api/path/resource", HttpMethod.Post)
             .WithBody(new { Value = 12 })
             .ContainingQueryParam("filter", "those")
             .ContainingHeader("ApiKey", "123abc-xyz987");
             
var subjectUnderTest = Resolve.WithTypedClient<UserController, GitHubApiClient>(
                          services => 
                          {
                             var configuration = UnitTestConfig.LoadUnitTestConfig();
                             services.AddGitHubApi(configuration);                          
                          },
                          teePeeBuilder);

Documentation | Examples

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen 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 (1)

Showing the top 1 NuGet packages that depend on TeePee:

Package Downloads
TeePee.Refit

Refit extensions for TeePee.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.1 291 8/15/2023
1.2.1 246 8/14/2023
1.1.1 284 8/9/2023
1.0.40 333 7/27/2023
1.0.39 176 7/27/2023
1.0.38 1,038 8/3/2022
1.0.37 974 8/2/2022
1.0.36 761 7/19/2022
1.0.34 779 6/15/2022
1.0.33 763 6/15/2022
1.0.32 767 6/13/2022
1.0.31 764 6/7/2022
1.0.30 1,053 5/31/2022
1.0.29 751 5/30/2022
1.0.28 1,057 5/9/2022
1.0.27 765 5/6/2022
1.0.26 767 5/6/2022
1.0.25 740 5/6/2022
1.0.24 564 8/25/2021
1.0.23 488 8/25/2021
1.0.22 755 6/28/2021
1.0.21 543 6/10/2021
1.0.18 483 10/19/2020
1.0.17 647 10/19/2020
1.0.15-alpha 360 10/9/2020