helpTest

tcmts.cli.commands.helpTest · #mtvvbeki · term · runs anywhere

import type { Help } from "#codebase/tcmts/cli/commands";

export const helpTest: Help = {
  description:
    "run tests (definitions named test… or under `tests`), and the suites packages declare; results are cached by hash, and by the code a suite ran; suites share the machine's budget with every tcm on it (TCM_SLOTS)",
  params: {
    names: "only these tests, or the tests under these namespaces",
    definitions: "only the test definitions, not the suites",
    suites: "only the suites, not the test definitions",
    bin: "run the suites against another build of a command (a package packed from the codebase, or an older tcm to see a test fail before a fix: a tcm.js, or a kept build's name, tcm=previous), comma-separated: cmd=<path>",
  },
}

uses

used by