Files
larksuite--cli/tests/cli_e2e/note/coverage.md
T
wehub-resource-sync bf9395e022
CI / results (push) Blocked by required conditions
CI / license-header (push) Has been skipped
CI / e2e-dry-run (push) Has been skipped
CI / e2e-live (push) Waiting to run
CI / fast-gate (push) Failing after 0s
Test PR Label Logic / test-pr-labels (push) Failing after 1s
Skill Format Check / check-format (push) Failing after 2s
CI / security (push) Failing after 5s
CI / unit-test (push) Has been skipped
CI / lint (push) Has been skipped
CI / script-test (push) Has been skipped
CI / deterministic-gate (push) Has been skipped
CI / coverage (push) Has been skipped
CI / deadcode (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 12:22:54 +08:00

1.4 KiB

Note CLI E2E Coverage

Metrics

  • Denominator: 2 leaf commands
  • Dry-run covered: 2
  • Dry-run coverage: 100.0%
  • Live covered: 0
  • Live coverage: 0.0%

Live E2E is intentionally not counted yet because both commands require meeting-generated note artifacts; stable create/use/cleanup fixtures are not available in this test suite.

Summary

  • TestNoteDetailDryRun: dry-run coverage for note +detail; asserts the detail request method and /open-apis/vc/v1/notes/{note_id} URL without calling live APIs.
  • TestNoteTranscriptDryRun: dry-run coverage for note +transcript; asserts the two-step request shape (note detail precheck, then unified_note_transcript), transcript query parameters, and that --transcript-format coexists with the global --format output flag.

Command Table

Status Cmd Type Testcase Key parameter shapes Notes / uncovered reason
dry-run ✓ / live ✕ note +detail shortcut note_dryrun_test.go::TestNoteDetailDryRun --note-id; user identity live note fixtures depend on meeting-generated artifacts
dry-run ✓ / live ✕ note +transcript shortcut note_dryrun_test.go::TestNoteTranscriptDryRun --note-id; --transcript-format; --format json; transcript API format/page_size/locale params live unified-note fixtures depend on generated VC note artifacts