Skip to content

Generate: add --with-tests test scaffold emission#33

Merged
snissn merged 1 commit into
masterfrom
feat/generate-with-tests-scaffold
Feb 5, 2026
Merged

Generate: add --with-tests test scaffold emission#33
snissn merged 1 commit into
masterfrom
feat/generate-with-tests-scaffold

Conversation

@snissn
Copy link
Copy Markdown
Contributor

@snissn snissn commented Feb 5, 2026

Resolves #28.

Scope implemented in this slice

  • Adds th generate --with-tests to emit a deterministic generated-app test scaffold.
  • Emits scaffold files under generated ui/tests/:
    • tests/contract/smoke.mjs
    • tests/ui/smoke.mjs
    • tests/README.md
  • Injects generated app package scripts when scaffold is requested:
    • test
    • test:contract
    • test:ui
  • Keeps default behavior unchanged (no scaffold unless --with-tests is set).

Validation

  • pnpm test
  • pnpm typecheck
  • Added generator test coverage for --with-tests behavior.

Add th generate --with-tests to emit a deterministic generated-app test scaffold, wire package scripts, and cover behavior in CLI tests.
@snissn snissn merged commit a9b39d9 into master Feb 5, 2026
2 checks passed
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.

Generated App Tests: add th generate --with-tests scaffold

1 participant