Script Generator

•

Generates complete WDIO test suites from user prompts, featuring intelligent file analysis for efficient script management.

The Script Generator is an MCP server designed to automate the creation of WebDriverIO (WDIO) test scripts. It takes test scenarios directly from user prompts and intelligently generates comprehensive test suites, including Gherkin feature files, step definitions, Page Object Models, and component files. A key differentiator is its 'Smart File Analysis' system, which evaluates existing test structures to avoid duplication, maintain organization, and promote code reusability by updating or extending existing files based on similarity thresholds. It also incorporates robust JSON Schema validation for all inputs and performs automated code review and enhancement.

主要功能

01Direct WDIO Test Suite Generation from User Input
02Automated Code Review and Enhancement
030 GitHub stars
04Intelligent File Analysis for Test Structure Management
05Comprehensive Schema Validation for Input Data
06Pattern Recognition and Function Reuse

使用案例

01Generating test data components and Page Objects on demand
02Extending existing test suites with new features without duplicating code
03Automating the creation of new WebDriverIO test scenarios
04Ensuring consistency and best practices in WDIO test development