Skip to content

add Kind-based e2e test suite - #42

Merged
atkrad merged 1 commit into
mainfrom
add-kind-e2e-suite
Jul 28, 2026
Merged

add Kind-based e2e test suite#42
atkrad merged 1 commit into
mainfrom
add-kind-e2e-suite

Conversation

@atkrad

@atkrad atkrad commented Jul 28, 2026

Copy link
Copy Markdown
Member

Summary

  • Add a Kind-backed e2e suite that drives the CLI in-process (nabattest) and asserts live cluster state from black-box expect.yaml fixtures
  • Wire nix run .#test-e2e (15m timeout, race off) and a CI e2e-test job with Codecov coverage
  • Allow cmd.NewApp(opts ...nabat.Option) so tests can override IO; un-ignore e2e fixture specs in .gitignore

Related

Fixes #37

Test plan

  • Unit tests added/updated (e2e suite under internal/e2e, build tag e2e)
  • Scenario under scenarios/ (if behavior changes)
  • nix run .#lint / pre-commit clean
  • Manual smoke: DEPLOYAH_E2E_FORCE=1 nix run .#test-e2e (passed locally)

Labels

  • One of: kind/feature, kind/bug, kind/docs, kind/chore
  • Add breaking-change if this breaks existing CLI or config behavior
  • Add skip-changelog for internal-only PRs that should not appear in notes

Checklist

  • Title is short and imperative (matches commit style)
  • Docs / CLI help updated when user-facing (README.md, docs/cli/)
  • No secrets or local-only paths in the diff

- drive deployah against a live Kind cluster via nabattest
- wire nix test-e2e app and CI job with Codecov coverage
- track e2e fixtures and allow NewApp option overrides
@github-actions github-actions Bot added kind/docs Documentation only area/cli Commands, flags, UX copy area/ci GitHub Actions and release packaging labels Jul 28, 2026
@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@atkrad
atkrad merged commit e997911 into main Jul 28, 2026
13 checks passed
@atkrad atkrad added kind/chore Cleanup, deps, CI, or refactor with no user-facing change and removed kind/docs Documentation only labels Jul 28, 2026
@atkrad
atkrad deleted the add-kind-e2e-suite branch July 28, 2026 14:49
@atkrad atkrad self-assigned this Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci GitHub Actions and release packaging area/cli Commands, flags, UX copy kind/chore Cleanup, deps, CI, or refactor with no user-facing change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

proposal: Kind-based e2e layer (cluster lifecycle + deploy smoke)

1 participant