-
Notifications
You must be signed in to change notification settings - Fork 227
feat(test): PTY-based interactive CLI snapshot tests #2052
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
fengmk2
wants to merge
43
commits into
main
Choose a base branch
from
rfc/interactive-snapshot-tests
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+5,636
−153
Open
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
7c557cc
feat(test): PTY-based interactive CLI snapshot harness
fengmk2 9be6294
test(cli): run both vp flavors in the cli-snap-test CI job
fengmk2 1646124
chore(tools): fix typo flagged by typos check
fengmk2 4cad019
fix(ci): exclude snapshot harness from the Windows nextest archive
fengmk2 9099272
docs(ci): explain why the PTY snapshot step skips the Windows leg
fengmk2 ce9b62a
chore(test): keep the generated migration report out of git
fengmk2 8f9f205
style(rfcs): format interactive-snapshot-tests.md with vp fmt
fengmk2 c5b61ac
fix(config): exclude PTY snapshot fixtures from tsgo typecheck
fengmk2 70e21b2
docs: how to write CLI snapshot tests on the PTY harness
fengmk2 9fa80a4
test(ci): run the PTY snapshot suite on Windows via a nextest archive
fengmk2 52de941
refactor(test): apply cleanup review to the snapshot harness
fengmk2 fff5405
fix(test): use dunce::canonicalize so Windows cmd shims get a plain cwd
fengmk2 442760a
ci: drop the duplicate global-only snapshot leg from the test job
fengmk2 0c49309
fix(ci): point the Windows snapshot job at the real vp binary
fengmk2 c4548e1
test(cli): migrate cli-helper-message to the PTY snapshot harness
fengmk2 3467aa5
feat(tools): migrate-snap-tests removes converted cases and guards co…
fengmk2 726a061
ci: move the PTY snapshot suite into its own cli-snapshot-test job
fengmk2 90a432b
ci: drop the docs install from cli-snapshot-test
fengmk2 27fc294
test(cli): migrate build-vite-env to the PTY snapshot harness
fengmk2 7fde274
test(cli): let build_vite_env run on Windows
fengmk2 6f97e5d
fix(test): Windows redaction gaps found by #2031's fixtures
fengmk2 17e7b0d
test(cli): self-coverage for the redaction rules
fengmk2 38ea695
test(cli): keep the unit when redacting byte sizes
fengmk2 3c2e4b4
docs(skill): teach bump-vite-task about the PTY snapshot harness
fengmk2 2eab747
docs(skill): drop the PR-tooling mention from bump-vite-task
fengmk2 8973a39
docs(skill): stop hardcoding the vite-task crate list
fengmk2 9cbef2b
fix(test): address Codex review findings on the harness and migrator
fengmk2 626e1ad
fix(test): address Codex round-2 findings
fengmk2 ff38a11
fix(test): address Codex round-3 findings
fengmk2 f2d9b61
fix(test): address Codex round-4 findings
fengmk2 fe14002
fix(test): address Codex round-5 findings
fengmk2 63d4b34
fix(test): address Codex round-6 findings
fengmk2 f93d3e3
fix(test): address Codex round-7 findings
fengmk2 37d2bec
docs(test): add just snapshot-test-global for checkouts without a JS …
fengmk2 7cce932
fix(test): address Codex round-10 findings
fengmk2 814acf7
docs: drop the word harness from snapshot-suite prose
fengmk2 b057a1a
fix(test): address Codex round-11 findings
fengmk2 5dc8d78
fix(test): address Codex round-12 findings
fengmk2 aaddd45
fix(test): address Codex round-13 findings
fengmk2 835cc8d
fix(test): address Codex round-14 findings
fengmk2 9c3c58b
refactor(test): apply /simplify cleanup pass
fengmk2 2151a2e
ci: exclude the snapshot crate from the native cache hash
fengmk2 b62a903
docs(test): note why build_vite_env has no Windows skip
fengmk2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.