AgentKit
Tài liệuBộ kitTham chiếu CLIỨng dụng Desktop
BetaBạn đang đọc tài liệu kênh beta (3.0.0-beta.15). Tính năng có thể thay đổi trước bản stable tiếp theo.Chuyển sang stable →

test

ak test classify-e2e

Đưa ra gợi ý về các lớp scenario E2E đã thay đổi mà không thay đổi lịch chạy.

Đưa ra gợi ý về các lớp scenario E2E đã thay đổi mà không thay đổi lịch chạy.

Các chế độ semantic dùng consumer e2e-classification. Lệnh chỉ gọi provider khi bạn đã bật semantic_decision ở user scope, đặt semantic_decision.consumers.e2e-classification thành true, và cung cấp credential của provider đã chọn (xem provider và credential). Quyền cấp này là bắt buộc kể cả khi bạn không có map consumers. Xem ak config prefs set.

Dùng ak test classify-e2e với đối số và tùy chọn dưới đây. Phần help nguyên bản giữ nguyên thuật ngữ, cú pháp, tác động và điều kiện thực thi của CLI để đối chiếu chính xác.

Contract và help của lệnh

Advise on changed E2E scenario classes without changing scheduling

Synopsis

Compare top-level E2E tests against a Git base, including dirty and untracked files. Optional provider advice requires explicit e2e-classification consent and a key. Unknown effects cannot establish parallel hermetic isolation. The class manifest remains authoritative.

Effects: Reads local Git and Go source. When explicitly configured, sends only bounded structural facts to the provider. Optionally creates a receipt; never changes classifications or scheduling.

Exit status: 0 discovery and advisory status reported 1 invalid input, stale advice, or output failure 2 invalid arguments

ak test classify-e2e [flags]

Examples

  ak test classify-e2e --base origin/dev --json
  ak test classify-e2e --base origin/dev --facts reviewed.json --output advice.json

Options

      --base string      Git base compared with the current checkout (required)
      --facts string     Optional repository-local reviewed structural facts JSON
  -h, --help             help for classify-e2e
      --json             Emit machine-readable JSON (implies --no-interactive)
      --no-interactive   Disable interactive prompts (CI-safe)
      --output string    Create a new JSON advice receipt; never overwrite
  -q, --quiet            Suppress non-error output on stderr
  -V, --verbose          Extra diagnostic output on stderr (loses to --quiet)
  -y, --yes              Assume yes for all prompts

SEE ALSO

  • ak test - Plan and execute repository test-impact checks