1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/tmt.md
Martin Hoyer f8e3196ab8
tmt, tmt-run, tmt-try: add pages (#14921)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2024-11-25 09:46:04 +01:00

37 lines
784 B
Markdown

# 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>.
- List available tests, plans, and stories:
`tmt`
- Initialize tmt files/project structure:
`tmt init`
- Create a new test with a template and a link:
`tmt test create --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 --context {{arch=aarch64}} test show`
- Validate tmt files against the specification:
`tmt lint`
- Use filter:
`tmt tests ls --filter {{tag:foo}} --filter {{tier:0}}`
- Display help:
`tmt --help`