testing

Automate unit, integration, and end-to-end tests for the Sira learning platform.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/Benidrissa/etutor-digital-ph --skill testing-benidrissa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing
Source: https://github.com/Benidrissa/etutor-digital-ph/tree/main/.claude/skills/testing
Command: npx skills add https://github.com/Benidrissa/etutor-digital-ph --skill testing-benidrissa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automated testing for the Sira platform eliminates flaky releases by validating backend and frontend behavior across unit, integration, and E2E layers.

Core Features & Use Cases

  • Unit tests for business logic (pytest)
  • Integration tests with real and simulated components
  • Frontend tests with React Testing Library
  • End-to-end tests with Playwright
  • Accessibility and offline behavior coverage

Quick Start

Write and run unit, integration, and end-to-end tests for the Sira platform.

Frequently Asked Questions about testing

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

FAQPage Schema
How do I automate testing for FastAPI backend and Next.js frontend environments?

Automate testing for FastAPI and Next.js by running unit, integration, and end-to-end tests. This Skill uses pytest for backend logic and React Testing Library for frontend components to validate behavior across multiple layers.

What is the best way to run end-to-end tests with Playwright for a learning platform?

Run end-to-end tests with Playwright to validate learning platform workflows. This Skill automates E2E scenarios including mobile-first UX, offline behavior, and accessibility to ensure comprehensive frontend coverage.

Does this testing workflow support pytest-asyncio patterns for asynchronous API logic?

Yes, the testing workflow enforces pytest-asyncio patterns for asynchronous API logic. It validates FastAPI backend behavior by executing comprehensive unit and integration tests using simulated and real components.

Can I validate AI and RAG content generation logic within my automated tests?

Yes, you can validate AI and RAG content generation logic within automated tests. The Skill includes specific test coverage for AI content generation alongside FSRS and CAT algorithm validation.

How do I enforce React Testing Library workflows for frontend component testing?

Enforce React Testing Library workflows by integrating them into the frontend testing pipeline. This approach validates Next.js and React component behavior, ensuring strong test coverage and reliable UI interactions.

What offline behavior and mobile-first UX scenarios should I cover in E2E tests?

Cover offline behavior and mobile-first UX scenarios in E2E tests to ensure application resilience. This Skill automates these specific validations using Playwright to prevent flaky releases and verify accessibility.