
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server that automatically generates comprehensive unit tests for Angular, React, and Next.js projects.
MCP Generate Unit Testing Server is cataloged as an MCP server attributed to shentia. An MCP server that automatically generates comprehensive unit tests for Angular, React, and Next.js projects. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP Generate Unit Testing Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It supports Jest, Karma/Jasmine, and Vitest.
The server targets more than 85% code coverage by generating tests for public functions, public class methods, edge cases, error handling, and async operations.
No manual configuration is required; it automatically detects the package manager, project type, existing test framework, and TypeScript/JavaScript usage.
README.md · 2c1c8136f768 · 采集于 2026-11-13 11:30:03 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
An intelligent Model Context Protocol (MCP) server that automatically generates comprehensive unit tests for Angular, React, and Next.js projects using Jest, Karma/Jasmine, or other testing frameworks.
npm install
npm run build
Add to your MCP client configuration (e.g., Claude Desktop, VS Code with MCP):
{
"mcpServers": {
"generate-unit-testing": {
"command": "node",
"args": ["/path/to/GenerateUnitTesting/build/index.js"]
}
}
}
detect_projectDetects the project type and testing framework.
{
"filePath": "/path/to/your/project/src/component.ts"
}
install_test_frameworkInstalls missing testing framework with user permission.
{
"projectPath": "/path/to/your/project",
"framework": "jest",
"autoInstall": false
}
generate_unit_testGenerates comprehensive unit tests for a source file.
{
"filePath": "/path/to/your/project/src/component.ts",
"framework": "jest",
"coverageTarget": 85,
"generateForAllPublicMethods": true,
"includeEdgeCases": true
}
validate_testRuns generated tests and calculates coverage.
{
"testFilePath": "/path/to/your/project/src/component.test.ts",
"framework": "jest"
}
display_side_by_sideCreates side-by-side comparison of source and test code.
{
"sourceFilePath": "/path/to/your/project/src/component.ts",
"testFilePath": "/path/to/your/project/src/component.test.ts"
}
docs://jest/latest - Latest Jest documentationdocs://jasmine/latest - Latest Jasmine documentationgenerate-unit-test - Comprehensive unit test generation promptgenerate-edge-cases - Edge case test generation promptgenerate-mocks - Mock generation promptsrc/
├── index.ts # Main MCP server entry point
├── types.ts # TypeScript type definitions
├── tools/
│ ├── detectProject.ts # Project and framework detection
│ └── testGenerator.ts # Test generation logic
├── resources/
│ └── documentationFetcher.ts # Live doc fetching from Jest/Jasmine
├── templates/
│ └── testTemplates.ts # Framework-specific test templates
├── prompts/
│ └── testPrompts.ts # LLM prompts for test generation
└── utils/
├── fileUtils.ts # File system utilities
└── codeAnalyzer.ts # AST-based code analysis
package.json to identify project type and existing test setupThe server targets >85% code coverage by generating:
For a React component:
// Original: Button.tsx
export const Button = ({ onClick, label }) => {
return <button onClick={onClick}>{label}</button>;
};
Generated test:
// Generated: Button.test.tsx
import { render, fireEvent } from '@testing-library/react';
import { Button } from './Button';
describe('Button', () => {
it('should render with label', () => {
const { getByText } = render(<Button label="Click me" onClick={() => {}} />);
expect(getByText('Click me')).toBeInTheDocument();
});
it('should call onClick when clicked', () => {
const handleClick = jest.fn();
const { getByText } = render(<Button label="Click me" onClick={handleClick} />);
fireEvent.click(getByText('Click me'));
expect(handleClick).toHaveBeenCalledTimes(1);
});
// ... more tests for edge cases;
# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run watch
# Start server
npm start
The server automatically detects:
No manual configuration required!
MIT
Contributions welcome! Please ensure:
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP Generate Unit Testing Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-generate-unit-testing-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.