snippetbashTip
tmt — Test Management Tool for creating, running, and debugging tests. Some subcommands such as `run`, `tr
Viewed 0 times
managementcommandclitesttoolcreatingfortmt
linux
Problem
How to use the
tmt command: Test Management Tool for creating, running, and debugging tests. Some subcommands such as run, try, etc. have their own usage documentation. More information: <https://tmt.readthedocs.io/en/stable/examples.html>.Solution
tmt — Test Management Tool for creating, running, and debugging tests. Some subcommands such as run, try, etc. have their own usage documentation. More information: <https://tmt.readthedocs.io/en/stable/examples.html>.List available tests, plans, and stories:
tmtInitialize tmt files/project structure:
tmt initCreate 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 showValidate tmt files against the specification:
tmt lintUse filter:
tmt tests ls {{[-f|--filter]}} {{tag:foo}} {{[-f|--filter]}} {{tier:0}}Display help:
tmt --helpCode Snippets
List available tests, plans, and stories
tmtInitialize tmt files/project structure
tmt initCreate 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 showContext
tldr-pages: linux/tmt
Revisions (0)
No revisions yet.