testing

Consolidate Pytest, Vitest, Playwright, and Locust testing practices for software reliability.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ColbyRReichenbach/retentionAI --skill testing-colbyrreichenbach
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing
Source: https://github.com/ColbyRReichenbach/retentionAI/tree/main/.claude/skills/testing
Command: npx skills add https://github.com/ColbyRReichenbach/retentionAI --skill testing-colbyrreichenbach

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured approach to software testing for RetentionAI, enabling teams to validate code quality, reliability, and performance across backend, API, ML, frontend, and end-to-end flows.

Core Features & Use Cases

  • Backend Testing (Pytest): unit tests, integration tests, and shared fixtures to ensure service correctness.
  • Frontend Testing (Vitest): component and UI interaction tests to guarantee user experience.
  • End-to-End Testing (Playwright): automated user journeys from login to campaign workflows.
  • Load & Performance Testing (Locust): simulate real user load to validate scalability.
  • CI/CD & Coverage: enforce test coverage thresholds and integrate tests into pipelines.

Quick Start

Install the project dependencies, scaffold test suites for each layer (backend, frontend, ML), and run the full test suite with coverage to validate quality.

Frequently Asked Questions about testing

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

FAQPage Schema
How do I set up Pytest and Playwright for end-to-end testing?

Set up Pytest and Playwright by scaffolding test suites for backend services and frontend components, using shared fixtures to automate end-to-end user workflows from login to campaign execution.

How do I integrate test automation and coverage thresholds into a CI pipeline?

Integrate test automation into CI pipelines by running the full test suite with coverage, enforcing predefined coverage thresholds to validate code quality and reliability across all software layers.

What is the best way to load test backend API endpoints for scalability?

Load test backend API endpoints using Locust to simulate real user load, validating service scalability and performance under stress to ensure overall backend reliability.

Can I use Vitest for frontend UI testing alongside backend Pytest suites?

Yes, you can use Vitest for frontend component and UI interaction tests while running backend Pytest suites, ensuring both user experience and service correctness are validated simultaneously.

What testing strategies are needed for validating ML models and API endpoints?

Validating ML models and API endpoints requires structured unit and integration tests using Pytest, ensuring service correctness and data reliability across backend and machine learning layers.