Skip to content

Generating stubs

Force stub generation:

Terminal window
suitener stubs ./path/to/backend

stubs writes generated files to:

suitener-stubs/

It also writes a generated-mode report to:

suitener-results/latest.json

Generated stubs are scaffolding, not real assertions. Generated test entries use skip because the files are written but not executed.

Project typeGenerated filePurpose
http_serverhttp-smoke.test.tsPlaceholder fetch against /health.
clicli-help.test.tsChecks a CLI-style help command exits cleanly.
librarylibrary-smoke.test.tsChecks the library import does not throw.
unknownsmoke.test.tsGeneric smoke placeholder.

Example output:

stubs 1 generated
summary
project demo-api
suite generated
files suitener-stubs/library-smoke.test.ts
report suitener-results/latest.json