TDD mode
Selected CLI guides for v0.8.0, published . Cloud features may behave differently today.
Pass your test command directly to vizzly tdd. Your test should capture screenshots
through your Vizzly integration.
npx vizzly tdd "npm test" --set-baselinenpx vizzly tdd "npm test"The first command records screenshots as baselines. Run the second command after
making a change to compare the new screenshots locally. Use --set-baseline again
when you want to replace the baselines.
Use a cloud baseline
If you have a project token and a build ID, you can start a local comparison using screenshots from that build.
npx vizzly tdd "npm test" --baseline-build build-id