Download for MacApple silicon, macOS 14+
Skill

abp-testing

@abpframework Updated 2026-11-01

ABP testing patterns - integration tests over unit tests, GetRequiredService, IDataSeedContributor, Shouldly assertions, AddAlwaysAllowAuthorization, NSubstitute mocking, WithUnitOfWorkAsync. Use when writing or reviewing tests for application services, domain services, or repositories in ABP projects.

abpangulararchitectureaspnetaspnet-coreaspnetcoreblazorc-sharp

Install

With your agent

Install OMGSkills skill "abpframework/abp:.claude/skills/abp-testing" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/abpframework/abp /tmp/abp && ln -s /tmp/abp/.claude/skills/abp-testing ~/.claude/skills/abp-testing

From README

ABP Testing Patterns Docs: https://abp.io/docs/latest/testing Test Project Structure | Project | Purpose | Base Class | |---------|---------|------------| | .Domain.Tests | Domain logic, entities, domain services | DomainTestBase | | .Application.Tests | Application services | ApplicationTestBase | | .EntityFrameworkCore.Tests | Repository implementations | EntityFrameworkCoreTestBase | Integration Test Approach ABP recommends integration tests over unit tests: Tests run with real services and database (SQLite in-memory) No mocking of internal services Each test gets a fresh database instance Application Service Test Domain Service Test Test Naming Convention Use descriptive names: Arrange-Act-Assert (AAA) Assertions with Shouldly ABP uses Shouldly library: Test Data Seeding Disabling Authorization in Tests Mocking External Services Use NSubstitute when needed: Testing with Specific User Testing Multi-Tenancy Best Practices Each test should be independent Don't share state between...