Generate Unit Testing Server

by Shentia

367 downloads
Not rated
GitHub

About

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.

Details

Author
Shentia
Downloads
367
Categories
Other

- Automatic detection of Angular, React, or Next.js projects and their versions
- Checks for testing frameworks and offers automated installation
- Retrieves latest Jest and Jasmine documentation before generating tests
- Uses Claude Sonnet 4.5+ for intelligent test generation
- Generates tests targeting >85% code coverage
- Creates tests for all exported functions and public class methods
- Displays source and test code side-by-side for easy review

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Generate Unit Testing Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

The server detects the project type and installed testing frameworks, optionally installs missing frameworks, fetches live documentation, and then uses an LLM (Claude Sonnet 4.5+) to generate high-coverage tests for all public methods.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "generate unit testing server": {
            "generate-unit-testing": {
                "command": "node",
                "args": [
                    "/Users/ahmadreza/Documents/Development/project/MCPs/GenerateUnitTesting/build/index.js"
                ]
            }
        }
    }
}

McpServers

{
    "generate-unit-testing": {
        "command": "node",
        "args": [
            "/Users/ahmadreza/Documents/Development/project/MCPs/GenerateUnitTesting/build/index.js"
        ]
    }
}

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.

Features

🔍 Automatic Project Detection - Detects Angular, React, or Next.js projects and their versions

📦 Framework Management - Checks for testing frameworks and offers automated installation

📚 Live Documentation Fetching - Retrieves latest Jest and Jasmine documentation before generating tests

🤖 LLM-Powered Generation - Uses Claude Sonnet 4.5+ for intelligent test generation

🎯 High Coverage Target - Generates tests targeting >85% code coverage

✅ All Public Methods - Creates tests for all exported functions and public class methods

🔄 Side-by-Side Validation - Displays source and test code for easy review

🛠️ Multiple Frameworks - Supports Jest, Karma/Jasmine, and Vitest

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.