pytest-application-layer-testing

Installation
SKILL.md

Pytest Application Layer Testing

Purpose

The application layer orchestrates domain logic with external dependencies. Tests verify that use cases correctly coordinate business logic and integration boundaries.

When to Use This Skill

Use when testing use cases and application services with "test use case", "mock gateways", "test orchestration", or "test DTOs".

Do NOT use for domain testing (use pytest-domain-model-testing), adapter testing (use pytest-adapter-integration-testing), or pytest configuration (use pytest-configuration).

Quick Start

Test use cases with mocked gateways:

from unittest.mock import AsyncMock
import pytest
Related skills
Installs
8
GitHub Stars
1
First Seen
Jan 23, 2026