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>
This commit is contained in:
Martin Hoyer
2024-11-25 09:46:04 +01:00
committed by GitHub
parent df8d44369f
commit f8e3196ab8
3 changed files with 109 additions and 0 deletions

36
pages/linux/tmt-try.md Normal file
View File

@@ -0,0 +1,36 @@
# tmt try
> Quickly experiment with tests and environments.
> More information: <https://tmt.readthedocs.io/en/stable/stories/cli.html#try>.
- Quickly experiment with the default provision method (no tests in the CWD):
`tmt try`
- Run a test in the current working directory:
`cd {{path/to/test}} && tmt try`
- Use a specific operating system:
`tmt try {{fedora-41}}`
- Select both custom image and provision method:
`tmt try {{fedora@container}}`
- Select tests with custom filter:
`tmt try --test {{feature}}`
- Provision guest and wait for instructions:
`tmt try --ask`
- Directly log into the guest without asking:
`tmt try --login`
- Display help:
`tmt try --help`