Skip to main content
Glama

gentest

Generate complete test cases for your code using Jest, Vitest, or Mocha testing frameworks to ensure code reliability and functionality.

Instructions

【生成测试】为代码生成完整的测试用例(支持 Jest/Vitest/Mocha)

Input Schema

NameRequiredDescriptionDefault
codeNo需要测试的代码
frameworkNo测试框架:jest, vitest, mocha(默认 jest)

Input Schema (JSON Schema)

{ "properties": { "code": { "description": "需要测试的代码", "type": "string" }, "framework": { "description": "测试框架:jest, vitest, mocha(默认 jest)", "type": "string" } }, "required": [], "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/mybolide/mcp-probe-kit'

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