1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 14:42:07 +02:00
tldr/pages/linux/tmt-run.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

933 B

tmt run

Execute tmt test steps. By default, all steps are run. More information: https://tmt.readthedocs.io/en/stable/overview.html#run.

  • Run all test steps for each plan:

tmt run

  • Run only the discover step to show what tests would be run:

tmt run discover -v

  • Run all steps and adjust the provision step options:

tmt run --all provision --how {{container}} --image {{fedora:rawhide}}

  • Run only selected plans and tests:

tmt run plan --name {{/plan/name}} test --name {{/test/name}}

  • Show results from the last run in a web browser:

tmt run --last report --how {{html}} --open

  • Run tests with the provided context:

tmt run --context {{key=value}} -c {{distro=fedora}}

  • Run tests interactively (debug test code in the middle of a test):

tmt run --all execute --how {{tmt}} --interactive

  • Use dry mode to see what actions would happen and use the highest verbosity:

tmt run --dry -vvv