Skip to main content
Glama

AI Agent Template MCP Server

by bswa006

generate_tests_for_coverage

Create comprehensive test suites for target files to achieve 80%+ code coverage. Supports Jest, Vitest, and Mocha, including edge cases and accessibility tests for enhanced reliability.

Instructions

Generate intelligent tests to achieve 80%+ coverage

Input Schema

NameRequiredDescriptionDefault
coverageTargetNoTarget coverage percentage (default: 80)
includeAccessibilityNoInclude accessibility tests for components
includeEdgeCasesNoInclude edge case tests
targetFileYesFile to generate tests for
testFrameworkNoTest framework to use

Input Schema (JSON Schema)

{ "properties": { "coverageTarget": { "description": "Target coverage percentage (default: 80)", "type": "number" }, "includeAccessibility": { "description": "Include accessibility tests for components", "type": "boolean" }, "includeEdgeCases": { "description": "Include edge case tests", "type": "boolean" }, "targetFile": { "description": "File to generate tests for", "type": "string" }, "testFramework": { "description": "Test framework to use", "enum": [ "jest", "vitest", "mocha" ], "type": "string" } }, "required": [ "targetFile" ], "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/bswa006/mcp-context-manager'

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