api-integration-testing

Test ABP Framework HTTP endpoints with xUnit and WebApplicationFactory.

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/alexsandrocruz/DominusLeads --skill api-integration-testing-alexsandrocruz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-integration-testing
Source: https://github.com/alexsandrocruz/DominusLeads/tree/main/backend/Sapienza.Leads/.claude/skills/api-integration-testing
Command: npx skills add https://github.com/alexsandrocruz/DominusLeads --skill api-integration-testing-alexsandrocruz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides reliable, repeatable end-to-end testing for ABP Framework-based APIs, ensuring core endpoints, authorization, and data integration behave as expected.

Core Features & Use Cases

  • End-to-end API validation: Validate HTTP endpoints with real requests against an in-memory or test database.
  • Authorization & data integration checks: Verify access control and cross-module data flows.
  • Test scaffolding & reuse: Reuse ABP test patterns and WebApplicationFactory-based setups across modules.

Quick Start

Run an end-to-end API test for the Clinic module using WebApplicationFactory and an in-memory database.

Frequently Asked Questions about api-integration-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test ABP Framework APIs end-to-end with WebApplicationFactory?

You can test ABP Framework APIs end-to-end by using WebApplicationFactory to execute real HTTP requests against your application, validating endpoints and data integration with an in-memory database. This approach ensures reliable, repeatable tests across module boundaries.

How does WebApplicationFactory handle database integration for .NET API tests?

WebApplicationFactory handles database integration for .NET API tests by running against an in-memory database, allowing real HTTP requests to validate cross-module data flows. This setup ensures that your ABP Framework services behave as expected without needing a persistent database.

Can I verify authorization rules across module boundaries in ABP integration tests?

Yes, you can verify authorization rules across module boundaries in ABP integration tests. The testing setup validates access control alongside HTTP endpoints and cross-module data flows, ensuring that your ABP Framework services enforce permissions correctly during end-to-end API validation.

What is the best way to reuse ABP test patterns for multiple modules?

The best way to reuse ABP test patterns is to scaffold tests using WebApplicationFactory-based setups and apply consistent ABP test patterns across modules. This enables reliable end-to-end API validation and allows you to reuse the same testing infrastructure for different ABP Framework modules.

Do I need xUnit to run end-to-end tests for ABP Framework services?

Yes, you need xUnit to run end-to-end tests for ABP Framework services. The testing strategy relies on xUnit alongside WebApplicationFactory and in-memory databases to execute integrated tests against real HTTP requests, ensuring your endpoints and data integration behave as expected.

Why use in-memory databases for .NET integration testing instead of a real database?

Using in-memory databases for .NET integration testing provides reliable, repeatable end-to-end test execution without the overhead of managing a real database. This approach allows WebApplicationFactory to validate HTTP endpoints and cross-module data integration quickly and consistently.