Skip to content

Test the Krad graph and CLI contracts - #7

Draft
keys-i wants to merge 1 commit into
verifyfrom
tests
Draft

Test the Krad graph and CLI contracts#7
keys-i wants to merge 1 commit into
verifyfrom
tests

Conversation

@keys-i

@keys-i keys-i commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Closes #3

Motivation

Protect the small public behavior boundary before build functionality is added.

Changes

  • test the four-component dependency order
  • cover invalid revisions, missing dependencies, and dependency cycles
  • parse and verify JSON plan output
  • assert missing-source and invalid CLI failures with exit status 1

Verification

  • npm test passed: 3 tests, 3 passed, 0 failed
  • git diff --check bootstrap..tests passed

Risk and rollback

Tests use only Node's standard library and spawn the local CLI. Roll back by reverting commit 161b3d2.

Stack

Depends on the verifier PR; base: verify. The documentation PR targets this branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant