LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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.

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

Capabilities

Typical Inputs

Typical Outputs

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
dotnet
csharp
apimatic
testing
httpclient
Stub HttpMessageHandler for SDK tests
Test SDK success and error paths
Assert outgoing HTTP request details
Verify status and transport retries
APIMatic .NET SDK
C# test project
SDK contract sheet
SDK unit test code
HttpMessageHandler stub class