bdy tests
$bdy tests [options] [command]
Manage unit tests and visual regression (Storybook, URL captures, test runners)
Examples
## upload junit xml reportbdy tests unit upload "reports/**/*.xml" --format junit-xml$
## preview which files would be uploaded without sendingbdy tests unit upload "reports/**/*.xml" --format junit-xml --dryRun$
## interactively link current directory to a unit test suitebdy tests unit link$
## link non-interactively to a specific suitebdy tests unit link -w workspace -p project -s suite-identifier$
## install the resource-discovery browser (needed by `session create` unless --skipDiscovery)bdy tests visual setup$
## upload a built Storybook to the linked visual test suitebdy tests visual upload$
## interactively link current directory to a visual test suitebdy tests visual link$
## link non-interactively to a specific suitebdy tests visual link -w workspace -p project -s suite-identifier$
## run your test command with the visual-test plugin server attachedbdy tests visual session create "npm test"$
## skip resource discovery (debugging or asset-free pages)bdy tests visual session create "npm test" --skipDiscovery$
## send snapshots progressively (quicker review during long runs)bdy tests visual session create "npm test" --oneByOne$
## one runner in a parallel session (every runner must share the same $SNAPSHOTS_BUILD_ID)bdy tests visual session create "npm test" --parallel$
## close the session after all parallel runners finished (build id read from $SNAPSHOTS_BUILD_ID)bdy tests visual session close$
## capture an explicit list of urlsbdy tests capture --urls "https://example.com,https://example.com/about"$
## capture from a sitemap and follow linksbdy tests capture --sitemap https://example.com/sitemap.xml --follow$
## capture from a urls file and ignore a globbed selectorbdy tests capture --urlsFile ./urls.txt --ignore "header>.banner"$