GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — docs(e2e): describe argv steps in the snapshot test README by Dunqing · Pull Request #873 · voidzero-dev/vite-task Conversation
Member
MotivationThe e2e snapshot test README describes a step format the harness doesn't accept. It shows string steps such as Changes
The examples were run through the harness as written.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe README showed string steps ("vp run build") and a table form with
`command`, and said steps run through /bin/sh. `Step` in main.rs is an
argv array or a table with `argv`, a string step makes the test binary
panic while loading fixtures, and steps start without a shell in a
cleared environment. Update the examples and notes to match: the table
and case keys, how `vt`/`vtt` are found, the full `write-key` list,
`vtt pipe-stdin` instead of shell pipes, the step timeout, and how new
snapshots are written and accepted.
The README said the tests execute `vp`; they run the `vt` binary built for the test. The `comment` field of a step was documented as appended to the command line, but the snapshot shows it under the step heading. Uh oh!
There was an error while loading. Please reload this page.
This was referenced
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |