Skip to content
Поверхность: CliСтабильность: Public StableЗрелость: StableИсходник

plugin-kit-ai test

Сгенерировано из реального Cobra command tree.

Запускает стабильные smoke-тесты на фикстурах против launcher entrypoint.

plugin-kit-ai test

Запускает стабильные smoke-тесты на фикстурах против launcher entrypoint.

Описание

Run stable Claude or Codex runtime smoke tests from JSON fixtures.

The command loads a fixture, invokes the configured launcher entrypoint with the correct carrier (stdin JSON for Claude stable hooks, argv JSON for Codex notify), and optionally compares or updates golden stdout/stderr/exitcode files for CI-grade regression checks.

Gemini has a production-ready 9-hook Go runtime with dedicated runtime gates and stays outside this stable fixture surface. For Gemini use go test, generate --check, validate --strict, inspect, capabilities --mode runtime, make test-gemini-runtime, then gemini extensions link . and optionally make test-gemini-runtime-live.

plugin-kit-ai test [path] [flags]

Опции

      --all                 run every stable event for the selected platform
      --event string        stable event to execute (for example Stop, PreToolUse, UserPromptSubmit, or Notify)
      --fixture string      fixture JSON path for single-event runs (default: fixtures/<platform>/<event>.json)
      --format string       output format: text or json (default "text")
      --golden-dir string   golden output directory (default: goldens/<platform>)
  -h, --help                справка по test
      --platform string     target override ("claude" or "codex-runtime")
      --update-golden       write current stdout/stderr/exitcode outputs into the golden files

См. также

  • plugin-kit-ai - CLI plugin-kit-ai для создания проектов и служебных операций вокруг AI-плагинов.

Публичная документация для авторов плагинов и интеграторов.