commands.sh

tmt

linux

Test Management Tool for creating, running, and debugging tests. Some subcommands such as `run`, `try`, etc. have their own usage documentation.

More info →

Options (3)

-t, --templateboolean

Create a new test with a template and a link

Example: tmt test create {{[-t|--template]}} {{beakerlib}} --link {{verifies:issue#1234}}
-c, --contextboolean

Show detailed test metadata in the given context

Example: tmt {{[-c|--context]}} {{arch=aarch64}} test show
-f, --filterboolean

Use filter

Example: tmt tests ls {{[-f|--filter]}} {{tag:foo}} {{[-f|--filter]}} {{tier:0}}

Examples (8)

List available tests, plans, and stories

Initialize tmt files/project structure

Create a new test with a template and a link

tmt test create [-t|--template] beakerlib --link verifies:issue#1234

List available tests, plans, or stories

tmt test|plan|story ls pattern

Show detailed test metadata in the given context

tmt [-c|--context] arch=aarch64 test show

Validate tmt files against the specification

tmt lint

Use filter

tmt tests ls [-f|--filter] tag:foo [-f|--filter] tier:0

Display help

tmt --help
made by @shridhargupta | data from tldr-pages