python-e2e

Write and debug Python end-to-end tests with pytest, httpx, and JWT personas.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/framecastdev/framecast --skill python-e2e
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-e2e
Source: https://github.com/framecastdev/framecast/tree/main/.claude/skills/python-e2e
Command: npx skills add https://github.com/framecastdev/framecast --skill python-e2e

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Python-based end-to-end testing patterns help teams write, debug, and understand E2E tests for systems with frontend, API, and database layers, using Python tooling and best practices.

Core Features & Use Cases

  • Structured patterns for UserPersona, E2EConfig, and core fixtures to streamline test authoring.
  • Guidance for configuring local and CI environments (pytest, httpx, environment variables, and test isolation).
  • Real-world use: validating authentication flows, service integration, and data persistence across services.

Quick Start

Run just test-e2e to execute all E2E tests.

Frequently Asked Questions about python-e2e

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

FAQPage Schema
How do I write Python E2E tests for JWT-based authentication flows?

Python E2E tests for JWT-based authentication flows use structured UserPersona fixtures and httpx to validate service integration, database persistence, and email verification across API layers. This approach streamlines test authoring and debugging for complex user sessions.

What's the best way to validate email verification in pytest E2E tests?

Validating email verification in pytest E2E tests is handled using a LocalStack-based SES client. This setup intercepts and validates outgoing emails during test execution, allowing you to assert verification links and user seeding without requiring a real email provider.

Do I need a pyproject.toml to run pytest E2E test suites?

Yes, a pyproject.toml is required to specify test dependencies and environment prerequisites for pytest E2E test suites. It ensures local and CI environments are correctly configured with necessary httpx, LocalStack, and fixture packages for test isolation.

Can I use httpx and LocalStack together for Python end-to-end testing?

Yes, httpx and LocalStack are used together for Python end-to-end testing to simulate API requests and AWS SES email flows. This combination allows you to test frontend, API, and database layers with isolated environment variables and user seeding fixtures.

Why does my E2E test fail across services, databases, and email flows?

E2E tests fail across services, databases, and email flows usually due to improper test isolation or missing environment variables. You need structured E2EConfig fixtures and a LocalStack SES client to ensure consistent user seeding, JWT personas, and database state.

How do I configure test isolation for pytest E2E tests in CI environments?

Test isolation for pytest E2E tests in CI environments is configured by defining environment variables, user seeding fixtures, and E2EConfig in your pyproject.toml. Running the test suite with just test-e2e executes these isolated tests consistently across local and CI.