TDD mode
Selected CLI guides for v0.29.6, published . Cloud features may behave differently today.
Use tdd run to run tests that capture screenshots through your Vizzly integration.
npx vizzly tdd run "npm test" --set-baselinenpx vizzly tdd run "npm test" --no-openThe first command records screenshots as baselines. The second compares against
those baselines and leaves the report closed. Add --fail-on-diff if a visual
difference should fail the run.
Keep the TDD server open
Start the server and open its dashboard when you want to run tests repeatedly. Run your tests in another terminal, then stop the server when you’re done.
npx vizzly tdd start --opennpx vizzly tdd statusnpx vizzly tdd stop