Description Background
Tokenhost Builder now enforces builder-level CI (static, integration-local) and canonical job-board integration tests.
Next step is generated-app-level testing so every app emitted by the generator includes runnable tests.
Scope
Add th generate --with-tests (and define default behavior: on by default or explicit opt-in).
Emit a tests workspace/package inside generated app output.
Emit package scripts for generated apps (minimum: test, test:contract, test:ui placeholders when applicable).
Implementation details
CLI/API:
th generate option surface and help text.
generated README in output describes how to run generated tests.
Template wiring:
add reusable test template assets under packages/templates/next-export-ui (or adjacent package).
ensure generated app build still works when tests are included.
Acceptance criteria
th generate <schema> --with-tests emits a deterministic tests directory.
Generated app has runnable test commands without manual setup changes.
Existing generator tests updated/expanded to assert emitted test scaffold.
Reactions are currently unavailable
You can’t perform that action at this time.
Background
static,integration-local) and canonicaljob-boardintegration tests.Scope
th generate --with-tests(and define default behavior: on by default or explicit opt-in).test,test:contract,test:uiplaceholders when applicable).Implementation details
th generateoption surface and help text.packages/templates/next-export-ui(or adjacent package).Acceptance criteria
th generate <schema> --with-testsemits a deterministic tests directory.