Skip to main content
Glama

tailtest-cline

Du baust. Wir decken ab. Über 8+ Editoren gleichzeitig.

tailtest-cline ist ein Cline-Plugin, das automatisch Tests generiert und ausführt, jedes Mal wenn der Agent eine Quelldatei bearbeitet. Dieselbe R1-R15-Regelebene wie bei den anderen tailtest-Varianten. Adversarial-Testmodus (V13) vom ersten Tag an dabei.

Cline-Reichweite: VS Code, Cursor, JetBrains IDEs, Antigravity, Zed, Neovim, VSCodium, Windsurf sowie die Cline CLI. Ein Plugin, acht plus Editoren.

Vollständige Dokumentation unter tailtest.com/docs/cline

Was ist anders als bei den anderen Varianten

Cline hat keine Hooks (Claude Codes PostToolUse, Cursors afterFileEdit, Codexs Stop). Stattdessen verwendet tailtest-cline drei Cline-native Primitive:

  • .clinerules/ enthält die Regelebene (R1-R14 + R15 Adversarial-Modus)

  • tailtest-mcp Server (dieses Repo) stellt strukturierte Tools für den Agenten bereit: tailtest_setup, tailtest_scenario_plan, tailtest_classify_failures, tailtest_pick_template, tailtest_ping

  • Memory Bank (tailtestContext.md) speichert das projektbezogene Profil über Cline-Sitzungen hinweg

Die deterministische Richtlinie (Tiefenstufen, R15 Adversarial-Anzahlen, Framework-Vorlagen, Dateipfade) liegt im MCP-Server-Code und nicht im Regeltext. Der Agent ruft die Tools auf, wenn er Gerüste benötigt, anstatt sich über lange Sitzungen hinweg auf das Abrufen von Regeln zu verlassen.

Related MCP server: Qlane MCP

Installation

Drei Installationswege:

1. Cline MCP Marketplace (empfohlen; ein Klick)

Öffne das Extensions-Panel von Cline in deiner IDE. Suche nach tailtest. Klicke auf Installieren. Cline klont, installiert Abhängigkeiten und registriert den Server automatisch in cline_mcp_settings.json.

2. Direkte GitHub-Installation

Füge https://github.com/avansaber/tailtest-cline in den MCP-Server-Installationsdialog von Cline ein. Cline führt denselben Klon-, Installations- und Registrierungsprozess durch.

3. Manuelle Bearbeitung von 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"
      ]
    }
  }
}

Erster Durchlauf

Gib nach der Installation im Cline-Chat ein: "set up tailtest in this project".

Cline ruft tailtest_setup auf. Das Tool erkennt Sprache / Framework / Runner, schreibt .clinerules/, schreibt .clinerules/workflows/, initialisiert memory-bank/tailtestContext.md und initialisiert .tailtest/config.json + .tailtest/session.json. Idempotent: Bestehende Dateien bleiben erhalten.

Wichtig: Cline lädt .clinerules nicht automatisch mitten im Gespräch neu. Starte eine neue Konversation (oder lade das Fenster neu), um sie zu aktivieren.

Zwei Betriebsmodi

Manueller Modus (Standard)

Du rufst den Testzyklus explizit auf:

  • /tailtest-test <file> -- führt den Zyklus für eine bestimmte Datei aus

  • /tailtest hunt <file> -- einmaliger Adversarial-Durchlauf für eine bestimmte Datei

  • Oder natürliche Sprache ("test the file I just edited")

Jeder Schritt (Dateischreiben, Terminalbefehl, MCP-Aufruf) erfordert eine Genehmigung. Sicherere Standardeinstellung für Erstbenutzer.

Auto-Modus (Opt-in)

Aktiviere die automatische Genehmigung von Cline für: Dateien bearbeiten (Arbeitsbereich), sichere Befehle ausführen, MCP-Server verwenden. Führe dann /tailtest-mode auto aus und lade neu. Nach jeder Bearbeitung startet tailtest automatisch den Testzyklus.

Plan / Act-Modus (Cline-native UX-Bonus)

Clines Plan / Act-Umschalter ist der SCENARIO PLAN-Konvention von tailtest zugeordnet: Der Plan-Modus erstellt den SCENARIO PLAN (schreibgeschützt); überprüfen und ändern; der Act-Modus schreibt die Testdatei, führt sie aus und wendet die R12-Klassifizierung an. Empfohlen für kritische Dateien.

Konfiguration

.tailtest/config.json:

{
  "depth": "standard",
  "mode": "manual"
}

Tiefenoptionen:

  • simple -- 2-3 Happy-Path-Szenarien

  • standard -- 5-8 Szenarien einschließlich 2+ Adversarial-Probes (Standard)

  • thorough -- 10-15 Szenarien einschließlich 4+ Adversarial-Probes

  • adversarial -- 8-12 Szenarien mit Fokus auf Fehleranfälligkeit

Siehe tailtest.com/docs/config für alle Optionen und tailtest.com/docs/adversarial für Details zum Adversarial-Modus.

Andere tailtest-Varianten

Dieselbe R1-R15-Regelebene, derselbe Adversarial-Testmodus, andere Host-Integration. Dieses Repo ist die Cline-Variante.

Siehe tailtest.com/demo/cline für eine Live-Demo dieser Variante oder tailtest.com/comparison für eine Funktionsmatrix aller vier.

Lizenz

MIT.

Available Tools

5 tools
tailtest_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

    A4.4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool serves a distinct purpose: setup, health check, template selection, scenario planning, and failure classification. There is no overlap or ambiguity between them.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      OpenTester 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.
      29
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Integrates 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
    • A
      license
      A
      quality
      B
      maintenance
      Provides 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.
      9
      Apache 2.0