Skip to main content
Glama

Zebrunner MCP Server

generate_draft_test_by_key

Generate draft test code from Zebrunner test cases with automatic framework detection for Java, JavaScript, and Python testing frameworks.

Instructions

๐Ÿงช Generate draft test code from Zebrunner test case with intelligent framework detection

Input Schema

NameRequiredDescriptionDefault
case_keyYesTest case key (e.g., 'ANDROID-6')
file_pathNoFile path for saving generated code (optional)
generate_page_objectsNoGenerate page object classes
implementation_contextYesImplementation context (existing code, file paths, or framework hints)
include_assertions_templatesNoInclude assertion templates
include_data_providersNoInclude data provider templates
include_setup_teardownNoInclude setup and teardown code
include_suite_hierarchyNoInclude featureSuiteId and rootSuiteId information
output_formatNoOutput format for generated testcode
project_keyNoProject key (auto-detected from case_key if not provided)
target_frameworkNoTarget test framework (auto-detected if 'auto')auto

Input Schema (JSON Schema)

{ "properties": { "case_key": { "description": "Test case key (e.g., 'ANDROID-6')", "minLength": 1, "type": "string" }, "file_path": { "description": "File path for saving generated code (optional)", "type": "string" }, "generate_page_objects": { "default": false, "description": "Generate page object classes", "type": "boolean" }, "implementation_context": { "description": "Implementation context (existing code, file paths, or framework hints)", "minLength": 10, "type": "string" }, "include_assertions_templates": { "default": true, "description": "Include assertion templates", "type": "boolean" }, "include_data_providers": { "default": false, "description": "Include data provider templates", "type": "boolean" }, "include_setup_teardown": { "default": true, "description": "Include setup and teardown code", "type": "boolean" }, "include_suite_hierarchy": { "default": false, "description": "Include featureSuiteId and rootSuiteId information", "type": "boolean" }, "output_format": { "default": "code", "description": "Output format for generated test", "enum": [ "code", "markdown", "comments", "all" ], "type": "string" }, "project_key": { "description": "Project key (auto-detected from case_key if not provided)", "minLength": 1, "type": "string" }, "target_framework": { "default": "auto", "description": "Target test framework (auto-detected if 'auto')", "enum": [ "auto", "java-carina", "javascript-jest", "python-pytest" ], "type": "string" } }, "required": [ "case_key", "implementation_context" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/maksimsarychau/mcp-zebrunner'

If you have feedback or need assistance with the MCP directory API, please join our Discord server