From fe518e2d10b7af8f3c5a35c849513251dceec91b Mon Sep 17 00:00:00 2001 From: David Perfors Date: Fri, 14 Jun 2024 23:57:33 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a8868f4..62249b6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # TestableHttpClient -![GitHub](https://img.shields.io/github/license/testablehttpclient/TestableHttpClient) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/testablehttpclient/TestableHttpClient/ci.yaml) ![Nuget](https://img.shields.io/nuget/v/TestableHttpClient) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/4010/badge)](https://bestpractices.coreinfrastructure.org/projects/4010) +![GitHub](https://img.shields.io/github/license/testablehttpclient/TestableHttpClient) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/testablehttpclient/TestableHttpClient/ci.yaml) ![Nuget](https://img.shields.io/nuget/v/TestableHttpClient) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/4010/badge)](https://bestpractices.coreinfrastructure.org/projects/4010) Creating unittest for code that uses `HttpClient` can be difficult to test. It requires a custom HttpMessageHandler or a mocked version. TestableHttpClient provides a testable version of HttpMessageHandler and several helper functions to configure the `TestableHttpHandler` and several ways to assert which requests were made. From 4c77bb2ac550955b180cc7a4680610f38b7313e1 Mon Sep 17 00:00:00 2001 From: David Perfors Date: Fri, 14 Jun 2024 23:59:45 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 62249b6..882abbd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # TestableHttpClient -![GitHub](https://img.shields.io/github/license/testablehttpclient/TestableHttpClient) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/testablehttpclient/TestableHttpClient/ci.yaml) ![Nuget](https://img.shields.io/nuget/v/TestableHttpClient) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/4010/badge)](https://bestpractices.coreinfrastructure.org/projects/4010) +![GitHub](https://img.shields.io/github/license/testablehttpclient/TestableHttpClient) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/testablehttpclient/TestableHttpClient/ci.yml) ![Nuget](https://img.shields.io/nuget/v/TestableHttpClient) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/4010/badge)](https://bestpractices.coreinfrastructure.org/projects/4010) Creating unittest for code that uses `HttpClient` can be difficult to test. It requires a custom HttpMessageHandler or a mocked version. TestableHttpClient provides a testable version of HttpMessageHandler and several helper functions to configure the `TestableHttpHandler` and several ways to assert which requests were made.