-
Is possible to run test in "--dry-run" mode? This is handy while making tests thx |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey @despotbg! I'm not quite sure I follow. |
Beta Was this translation helpful? Give feedback.
-
Hey @despotbg! What are you looking for out of a Are you looking to skip Percy snapshots altogether? If so, you can simply run your tests without Are you looking to run asset discovery for debugging, but not upload snapshots? If so, this would be the Or are you looking for something different? For example, some commands have a If that last option is what you're looking for, but you don't have the issue of test output getting in the way, maybe you could stub the |
Beta Was this translation helpful? Give feedback.
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 ourexec
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…