CmdID

CmdID / Commands

vitest

Fast, modern testing framework built for Vite, offering seamless integration, TypeScript support, and a Jest-compatible API for unit, integration, and snapshot testing. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Run all available tests

vitest runIdentify

Run the test suites from the given files

vitest run path/to/file1 path/to/file2 ...Identify

Run the test suites from files within the current and subdirectories, whose paths match the given regex

vitest run regex1 regex2 ...Identify

Run the tests whose names match the given regex

vitest run --testNamePattern regexIdentify

Watch files for changes and automatically re-run related tests

vitestIdentify

Run tests with coverage

vitest run --coverageIdentify

Run all tests but stops immediately after the first test failure

vitest run --bail=1Identify

Display help

vitest --helpIdentify