moai-domain-testing

Automate end-to-end, unit, and integration tests across Python and TypeScript stacks.

Updated Nov 24, 2025
One-click install
npx skills add https://github.com/jg-chalk-io/Nora-LiveKit --skill moai-domain-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-domain-testing
Source: https://github.com/jg-chalk-io/Nora-LiveKit/tree/main/.claude/skills/moai-domain-testing
Command: npx skills add https://github.com/jg-chalk-io/Nora-LiveKit --skill moai-domain-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enterprise-grade testing strategies are needed to reduce manual QA, increase coverage, and enable fast iterations. This Skill provides structured guidance for Python, TypeScript, Playwright, and API testing to ensure reliable software delivery.

Core Features & Use Cases

  • Cross-stack Testing: Pytest, Vitest, Playwright, httpx, and k6 testing patterns for Python/TypeScript.
  • Quality Targets: Guidance for achieving 85%+ test coverage and robust test isolation.
  • Practical Examples: Concrete snippets and workflows for unit, integration, and E2E tests.

Quick Start

Use moai-domain-testing to bootstrap an end-to-end test plan for a new REST API, including fixtures and basic E2E tests.

Frequently Asked Questions about moai-domain-testing

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

FAQPage Schema
How do I set up end-to-end testing across Python backends and TypeScript frontends?

End-to-end testing across stacks uses pytest for Python APIs, Vitest for TypeScript components, and Playwright for browser automation. This Skill provides structured patterns for pytest fixtures, Vitest test isolation, and Playwright page objects to validate workflows from API through UI in CI/CD pipelines.

Can I use Playwright and httpx together for testing APIs and web interfaces?

Yes. Playwright handles multi-browser E2E scenarios while httpx tests REST APIs directly. This Skill covers both in integrated test suites, including fixture sharing and parameterized tests across API and UI layers for 85%+ coverage targets.

What's the best way to achieve high test coverage with pytest and Vitest?

Structured test architectures using fixtures, data factories, and parameterized tests reduce redundancy and boost coverage. This Skill provides concrete patterns for pytest and Vitest to reach 85%+ coverage with stable, maintainable test isolation.

How do I organize accessibility testing into my Playwright test suite?

Accessibility compliance integrates into Playwright E2E tests using axe-core. This Skill demonstrates how to embed accessibility checks alongside functional multi-browser scenarios in production CI/CD workflows.

Does k6 work with pytest and httpx for API load testing?

k6 runs independently for performance and load testing while httpx handles functional API tests in pytest. This Skill shows how to combine functional coverage from pytest and httpx with k6 load scenarios in enterprise CI/CD pipelines.

What are the limitations of page object patterns in Playwright for large test suites?

Page objects reduce maintenance overhead but can become brittle with frequent UI changes. This Skill addresses stable page object design, fixture reuse, and test isolation strategies to keep suites maintainable as codebases scale.