Skip to main content
Glama

tailtest-cline

당신은 빌드하고, 우리는 커버합니다. 8개 이상의 에디터에서 동시에.

tailtest-cline은 에이전트가 소스 파일을 수정할 때마다 자동으로 테스트를 생성하고 실행하는 Cline 플러그인입니다. 다른 tailtest 변형들과 동일한 R1-R15 규칙 계층을 사용합니다. 첫날부터 적대적 테스트 모드(V13)가 제공되었습니다.

Cline 지원 범위: VS Code, Cursor, JetBrains IDE, Antigravity, Zed, Neovim, VSCodium, Windsurf 및 Cline CLI. 하나의 플러그인으로 8개 이상의 에디터를 지원합니다.

전체 문서는 tailtest.com/docs/cline 에서 확인하세요

다른 변형들과의 차이점

Cline에는 훅(Claude Code의 PostToolUse, Cursor의 afterFileEdit, Codex의 Stop)이 없습니다. 대신 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 마켓플레이스 (권장; 클릭 한 번)

IDE 내에서 Cline의 확장 프로그램 패널을 엽니다. tailtest를 검색하고 설치를 클릭합니다. Cline이 자동으로 복제, 종속성 설치, cline_mcp_settings.json에 서버 등록을 수행합니다.

2. GitHub 직접 설치

Cline의 MCP 서버 설치 대화 상자에 https://github.com/avansaber/tailtest-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가 자동으로 테스트 주기를 실행합니다.

계획 / 실행 모드 (Cline 네이티브 UX 보너스)

Cline의 계획/실행 토글은 tailtest의 SCENARIO PLAN 규칙에 매핑됩니다. 계획 모드는 SCENARIO PLAN(읽기 전용)을 생성하고, 검토 및 수정하며, 실행 모드는 테스트 파일을 작성하고 실행한 뒤 R12 분류를 적용합니다. 중요한 파일에 권장됩니다.

구성

.tailtest/config.json:

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

깊이 옵션:

  • simple -- 2-3개의 해피 패스 시나리오

  • standard -- 2개 이상의 적대적 프로브를 포함한 5-8개의 시나리오 (기본값)

  • thorough -- 4개 이상의 적대적 프로브를 포함한 10-15개의 시나리오

  • adversarial -- 파손에 편향된 8-12개의 시나리오

모든 옵션은 tailtest.com/docs/config를, 적대적 모드 세부 정보는 tailtest.com/docs/adversarial을 참조하세요.

다른 tailtest 변형

동일한 R1-R15 규칙 계층, 동일한 적대적 테스트 모드, 다른 호스트 통합. 이 저장소는 Cline 변형입니다.

이 변형에 대한 실시간 가이드는 tailtest.com/demo/cline을, 4가지 모두에 대한 기능 매트릭스는 tailtest.com/comparison을 참조하세요.

라이선스

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