Skip to content

docs(local-testing): test harness page — deployStack, isolation, emulator switch (#1224) - #1856

Merged
lex00 merged 1 commit into
feat/1224-worked-examplefrom
feat/1224-docs
Aug 24, 2026
Merged

lex00 merged 1 commit into
feat/1224-worked-examplefrom
feat/1224-docs

Conversation

@lex00

@lex00 lex00 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Closes #1224. Stacks on #1854 (the worked example it links).

Adds docs/src/content/docs/local-testing/testing-harness.mdx:

  • the harness API — deployStack({ dir, suite?, env?, params? }), the DeployedStack handle, destroy() and TeardownIncompleteError;
  • what a project must declare — ownership.stack (destroy is marker-scoped) and the "test-*" environments pattern entry that legalizes derived names;
  • isolation naming — test-<suite>-<nonce> defaults, stack-name-folded physical names, explicit env for shared environments;
  • the emulator/real switch — ambient endpoint vars win, then the declared endpoint, then real cloud;
  • crashed-suite recovery — rerun destroy, or chant lifecycle teardown <env> --yes (stateless, marker-scoped);
  • links to the worked example and just testing-harness-e2e.

Linked into the Local testing sidebar group and cross-linked from the overview's path cards.

Verified: just docs-check green (diataxis tags), just docs-build builds the page.

@lex00
lex00 merged commit 063c6b3 into feat/1224-worked-example Aug 24, 2026
6 checks passed
@lex00
lex00 deleted the feat/1224-docs branch August 24, 2026 03:29
lex00 added a commit that referenced this pull request Aug 24, 2026
…-stack harness (#1224) (#1858)

* feat(testing): @intentius/chant/testing — deployStack/destroy live-stack harness (#1224)

* feat(examples): testing-harness-aws — worked deploy/assert/destroy suite on Floci (#1224)

* docs(local-testing): test harness page — deployStack per suite, isolation, emulator switch (#1224) (#1856)
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