generate_component_test
Create comprehensive React Native component tests for unit, integration, e2e, and snapshot scenarios. Supports Jest, Detox, and Maestro testing frameworks with options for accessibility and performance checks.
Instructions
Generate comprehensive React Native component tests following industry best practices
Input Schema
Name | Required | Description | Default |
---|---|---|---|
component_code | Yes | React Native component code to generate tests for | |
component_name | Yes | Name of the component | |
include_accessibility | No | Include accessibility tests | |
include_performance | No | Include performance tests | |
include_snapshot | No | Include snapshot tests | |
test_type | No | Type of tests to generate | comprehensive |
testing_framework | No | Testing framework preference | jest |