Skip to content

Is posible to run test in "--dry-run" mode ? #344

Answered by wwilsman
despotbg asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @despotbg! What are you looking for out of a --dry-run feature?

Are you looking to skip Percy snapshots altogether? If so, you can simply run your tests without percy exec.

Are you looking to run asset discovery for debugging, but not upload snapshots? If so, this would be the --debug flag in the latest version of the @percy/cli.

Or are you looking for something different? For example, some commands have a --dry-run flag that simply prints the names of snapshots. This isn't implemented in our exec command due to the snapshot names being printed in the middle of test output for most SDKs and you would need to parse through logs to find snapshot names.

If that last option is what you're…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@despotbg
Comment options

Comment options

You must be logged in to vote
1 reply
@despotbg
Comment options

Answer selected by wwilsman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants