Skip to content

test: build and run apps as part of create-app tests - #186

Open
molisani wants to merge 1 commit into
mainfrom
test/cleanup-snapshots-and-run
Open

test: build and run apps as part of create-app tests#186
molisani wants to merge 1 commit into
mainfrom
test/cleanup-snapshots-and-run

Conversation

@molisani

Copy link
Copy Markdown
Member

Describe your changes
Creates a new test utility buildAndRunApplication that writes the in-memory volume to a temporary directory, runs the prebuild/build scripts, and then runs some commands on the newly created application. This is useful for confirming that the new projects are created in working condition.

As well, the snapshot methodology was altered so that the in-memory volume and the terminal output are recorded separately.

Testing performed
This change doesn't alter any of the application code, and doesn't add/remove any of the existing test cases. The same tests exist, just relocated to new files and they now have logic to confirm the build/run of the generated applications.

Signed-off-by: Michael Molisani <mmolisani@bloomberg.net>
@molisani molisani self-assigned this Aug 19, 2026
@molisani
molisani requested a review from a team as a code owner August 19, 2026 17:38
@github-actions github-actions Bot added the create-app 📂 Relates to the @stricli/create-app package label Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

create-app 📂 Relates to the @stricli/create-app package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant