Automated Test Generator (Pytest & Playwright)

0•

Generates robust, production-ready Pytest and Playwright automation code from structured test cases or scenarios.

This skill streamlines the creation of end-to-end automation suites by transforming structured test cases (JSON) or scenario descriptions into high-quality Python code. It automatically adheres to industry best practices like the Arrange-Act-Assert (AAA) pattern and implements a sophisticated soft-assertion reporting system via a custom ChecklistReporter. The skill is designed to be context-aware, scanning your existing project structure to reuse helper utilities and maintain naming conventions, ensuring that new tests integrate seamlessly into your current CI/CD pipeline without creating technical debt.

주요 기능

01Automatic mapping of test functions and files to human-readable descriptions for reporting.
02Built-in support for environment variables, JSON data drivers, and multi-browser fixtures.
030 GitHub stars
04Implementation of Soft Assertion patterns for comprehensive, non-terminating test execution.
05Context-aware code generation that updates existing test files and reuses helper utilities.
06Standardized selector prioritization favoring data-testid and ARIA roles for stable tests.

사용 사례

01Updating existing automation suites with new UI selectors or additional test steps.
02Converting manual test case documentation into executable Playwright automation scripts.
03Generating boilerplate-free E2E tests that include detailed reporting for Slack and Confluence.