tailtest-cline
tailtest-cline
Вы создаете. Мы покрываем. Сразу в 8+ редакторах.
tailtest-cline — это плагин для Cline, который автоматически генерирует и запускает тесты каждый раз, когда агент редактирует исходный файл. Использует тот же уровень правил R1-R15, что и другие варианты tailtest. Режим состязательного тестирования (V13) доступен с первого дня.
Охват Cline: VS Code, Cursor, IDE от JetBrains, Antigravity, Zed, Neovim, VSCodium, Windsurf, а также Cline CLI. Один плагин, более восьми редакторов.
Полная документация на tailtest.com/docs/cline
Чем он отличается от других вариантов
У Cline нет хуков (как PostToolUse в Claude Code, afterFileEdit в Cursor или Stop в Codex). Вместо этого tailtest-cline использует три нативных примитива Cline:
.clinerules/содержит уровень правил (R1-R14 + состязательный режим R15)Сервер
tailtest-mcp(этот репозиторий) предоставляет агенту структурированные инструменты:tailtest_setup,tailtest_scenario_plan,tailtest_classify_failures,tailtest_pick_template,tailtest_pingБанк памяти (
tailtestContext.md) хранит профиль проекта между сессиями Cline
Детерминированная политика (уровни глубины, количество состязательных проверок R15, шаблоны фреймворков, пути к файлам) находится в коде MCP-сервера, а не в тексте правил. Агент вызывает инструменты, когда ему нужны шаблоны, вместо того чтобы полагаться на запоминание правил в течение длительных сессий.
Related MCP server: Qlane MCP
Установка
Три способа установки:
1. Маркетплейс Cline MCP (рекомендуется; в один клик)
Откройте панель расширений Cline в вашей IDE. Введите tailtest. Нажмите «Установить». Cline автоматически клонирует репозиторий, установит зависимости и зарегистрирует сервер в cline_mcp_settings.json.
2. Прямая установка через GitHub
Вставьте https://github.com/avansaber/tailtest-cline в диалоговое окно установки MCP-сервера в Cline. Cline выполнит тот же процесс клонирования, установки и регистрации.
3. Ручное редактирование cline_mcp_settings.json
{
"mcpServers": {
"tailtest": {
"command": "python",
"args": ["-m", "src.server"],
"cwd": "/path/to/tailtest-cline/mcp_server",
"alwaysAllow": [
"tailtest_ping",
"tailtest_scenario_plan",
"tailtest_classify_failures",
"tailtest_pick_template"
]
}
}
}Первый запуск
После установки введите в чате Cline: "set up tailtest in this project".
Cline вызовет tailtest_setup. Инструмент определит язык / фреймворк / средство запуска, создаст .clinerules/, .clinerules/workflows/, инициализирует memory-bank/tailtestContext.md, а также .tailtest/config.json + .tailtest/session.json. Идемпотентность: существующие файлы сохраняются.
Важно: Cline не перезагружает .clinerules автоматически в середине диалога. Начните новый диалог (или перезагрузите окно), чтобы активировать изменения.
Два режима работы
Ручной режим (по умолчанию)
Вы запускаете цикл тестирования явно:
/tailtest-test <file>— запустить цикл для конкретного файла/tailtest hunt <file>— однократный состязательный проход для конкретного файлаИли на естественном языке ("протестируй файл, который я только что отредактировал")
Каждый шаг (запись файла, команда терминала, вызов MCP) требует подтверждения. Более безопасный вариант по умолчанию для новых пользователей.
Автоматический режим (по выбору)
Разрешите Cline автоматическое подтверждение для: редактирования файлов (рабочая область), выполнения безопасных команд, использования MCP-серверов. Затем выполните /tailtest-mode auto и перезагрузитесь. После каждого редактирования tailtest будет автоматически запускать цикл тестирования.
Режим планирования / действия (бонус UX, нативный для Cline)
Переключатель Plan / Act в Cline соответствует соглашению SCENARIO PLAN в tailtest: режим Plan создает ПЛАН СЦЕНАРИЯ (только для чтения); вы проверяете и вносите правки; режим Act записывает файл теста, запускает его и применяет классификацию R12. Рекомендуется для критически важных файлов.
Конфигурация
.tailtest/config.json:
{
"depth": "standard",
"mode": "manual"
}Опции глубины:
simple— 2-3 сценария «счастливого пути»standard— 5-8 сценариев, включая 2+ состязательных проверки (по умолчанию)thorough— 10-15 сценариев, включая 4+ состязательных проверкиadversarial— 8-12 сценариев с уклоном на поиск ошибок
См. tailtest.com/docs/config для получения всех опций и tailtest.com/docs/adversarial для подробностей о состязательном режиме.
Другие варианты tailtest
Тот же уровень правил R1-R15, тот же состязательный режим тестирования, другая интеграция с хостом. Этот репозиторий — вариант для Cline.
tailtest — плагин для Claude Code (на основе хуков)
tailtest-cursor — плагин для Cursor (на основе хуков)
tailtest-codex — плагин для Codex CLI (на основе хуков)
tailtest-cline — плагин для Cline (на основе MCP; этот репозиторий)
См. tailtest.com/demo/cline для живого прохождения этого варианта или tailtest.com/comparison для матрицы функций всех четырех вариантов.
Лицензия
MIT.
Available Tools
5 toolstailtest_classify_failuresA
Parse runner output (pytest, jest, etc.) into structured failure records and apply heuristic R12 classification. Returns failures with type (real_bug / environment / test_bug / unknown), reason, test name, file, line, error type, message, and a summary count per R12 category. The agent verifies or overrides the heuristic when context warrants.
Inputs: runner_output (required), runner.
tailtest_pick_templateA
Return the full framework R2 template for a given source file: language baseline scenarios, framework baseline scenarios, framework-specific test pattern (e.g., NestJS Test.createTestingModule, Spring @WebMvcTest, Flask test_client), and test file path pattern. Returns just language baseline when no framework matches.
Inputs: file_path (required), project_root.
tailtest_pingA
Health check. Returns server version and confirms the MCP server is reachable.
Inputs: no named parameters.
tailtest_scenario_planA
Return structured scaffolding the agent uses to write its SCENARIO PLAN: language, framework, depth, R15 adversarial count requirement, language and framework baseline scenarios, test file path, and prose instructions. The agent uses this scaffolding to compose the actual SCENARIO PLAN scenario lines.
Inputs: file_path (required), project_root.
tailtest_setupA
Bootstrap entry point for tailtest in a Cline project. Detects language / framework / runner, writes the .clinerules/ rule pack, writes .clinerules/workflows/ slash workflows, seeds Memory Bank with tailtestContext.md (a 7th file alongside the 6 core ones; existing files are not overwritten), and initialises .tailtest/config.json + session.json. Returns a structured report including the user-facing 'reload required' warning (Cline does not auto-reload .clinerules mid-conversation).
Inputs: project_root, mode.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool serves a distinct purpose: setup, health check, template selection, scenario planning, and failure classification. There is no overlap or ambiguity between them.
All tools follow a consistent snake_case pattern with the prefix 'tailtest_' and a verb_noun structure (e.g., tailtest_classify_failures, tailtest_pick_template). No deviations.
With 5 tools, the server is tightly scoped to test analysis and scaffolding. Each tool earns its place without being too few or too many for the domain.
The tools cover setup, health, template selection, scenario planning, and failure classification. While not a full test framework, it appears complete for its intended planning/analysis purpose. Minor gap: no tool for running tests or generating code.
Maintenance
Related MCP Connectors
Let your coding agent QA what it builds: plain-English tests run in real Chrome or on iPhone, iPad and Android, with a verdict, replay and evidence for every check, and a fix prompt when something fails. Get your first 10 tests free, no card needed: https://testsy.dev
Writes adversarial test suites for AI-built code. Your agent's test engineer.
Generate and run tests, manage test cases, and inspect results from your AI assistant.
Test analytics for AI agents: test history, flaky tests, failure clusters, coverage.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceOpenTester is a testing execution engine designed for AI coding tools (Claude Code, Cursor, OpenCode, etc.). It provides a unified DSL format and MCP interface, enabling Agents to generate, execute, and manage test cases, achieving an automated "code-test-fix" workflow.29MIT
- AlicenseNot gradedqualityCmaintenanceIntegrates Qlane test management into AI coding editors, enabling agents to view projects, test targets, and test case counts, and plan tests for local diffs.MIT
- AlicenseAqualityBmaintenanceProvides coding agents with visibility into test health through tools for flaky test detection, test quality linting, and LLM evaluation harness, enabling them to triage failures, review test quality, and check prompt changes for regressions.9Apache 2.0

Pluswithai MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceEnables AI agents to run tests, read failures, push new tests, and schedule them, either by connecting directly to a hosted endpoint or via a local stdio bridge.13 npmMIT