这是indexloc提供的服务,不要输入任何密码
Skip to content

feat: add shim to help and version integration tests #2386

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

Conversation

chris-olszewski
Copy link
Member

A quick PR that should add some tests to make sure we're aware of how we're changing the help text with the Rust shim.

Also updated the version test so we check the version against the contents of version.txt instead of just making sure it matches the semver regexp.

@vercel
Copy link

vercel bot commented Oct 26, 2022

@chris-olszewski is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Oct 26, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

5 Ignored Deployments
Name Status Preview Updated
examples-basic-web ⬜️ Ignored (Inspect) Oct 26, 2022 at 9:08PM (UTC)
examples-designsystem-docs ⬜️ Ignored (Inspect) Oct 26, 2022 at 9:08PM (UTC)
examples-kitchensink-blog ⬜️ Ignored (Inspect) Oct 26, 2022 at 9:08PM (UTC)
examples-native-web ⬜️ Ignored (Inspect) Oct 26, 2022 at 9:08PM (UTC)
examples-svelte-web ⬜️ Ignored (Inspect) Oct 26, 2022 at 9:08PM (UTC)

@chris-olszewski chris-olszewski marked this pull request as ready for review October 26, 2022 21:17
@chris-olszewski chris-olszewski requested a review from a team as a code owner October 26, 2022 21:17
Copy link
Contributor

@NicholasLYang NicholasLYang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All these seem good, although I'm basically doing the rust version of these tests in #2379.

@@ -73,3 +73,84 @@ Test help flag
--version version for turbo

Use "turbo [command] --help" for more information about a command.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just FYI I'm also testing help's output in #2379.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw that. I prefer prysk/cram for tests that try to match the UI since it allows for easy updating of the snapshots using the -i flag

@chris-olszewski chris-olszewski merged commit fa8c55f into vercel:main Oct 26, 2022
@chris-olszewski chris-olszewski deleted the olszewski/add_shim_integration_tests branch October 26, 2022 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants