LogoClawIndex
CasesSkillsAbout
LogoClawIndex

dotnet-testing - Test APIMatic-generated .NET SDK integration code

Provides patterns for unit testing C# code using APIMatic .NET SDKs by stubbing HttpClient and asserting requests, responses, and errors.

Tags

Updated: 2026-09-20
dotnetcsharpapimatictestinghttpclient

Capabilities

Stub HttpMessageHandler for SDK testsTest SDK success and error pathsAssert outgoing HTTP request detailsVerify status and transport retries

Typical Inputs

APIMatic .NET SDKC# test projectSDK contract sheet

Typical Outputs

SDK unit test codeHttpMessageHandler stub class

What this skill does

  • Stub HttpMessageHandler for SDK tests
  • Test SDK success and error paths
  • Assert outgoing HTTP request details
  • Verify status and transport retries
  • Register stub with dependency injection

Inputs

  • APIMatic .NET SDK
  • C# test project
  • SDK contract sheet

Outputs

  • SDK unit test code
  • HttpMessageHandler stub class

Requirements

  • .NET SDK
  • C# testing framework

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.