diff --git a/docs/tldr/pages/linux/tmt-try.md b/docs/tldr/pages/linux/tmt-try.md new file mode 100644 index 0000000000..56ad22ff11 --- /dev/null +++ b/docs/tldr/pages/linux/tmt-try.md @@ -0,0 +1,28 @@ +# tmt try + +> Quickly experiment with tests and environments. +> More information: . + +- Run a test stored in current working directory: + +`cd tests/core/smoke && tmt try` + +- Use a specific operating system: + +`tmt try fedora-41` + +- Try a test in a container: + +`tmt try fedora@container` + +- Use custom filter to select tests instead of using cwd: + +`tmt try --test feature` + +- Do nothing, just provision the guest and ask what to do: + +`tmt try --ask` + +- Explicitly ask for login only if there are tests around: + +`tmt try --login` diff --git a/docs/tldr/pages/linux/tmt.md b/docs/tldr/pages/linux/tmt.md new file mode 100644 index 0000000000..dc105b162a --- /dev/null +++ b/docs/tldr/pages/linux/tmt.md @@ -0,0 +1,36 @@ +# tmt + +> Test Management Tool for creating, running and debugging tests. +> More information: . + +- List available tests, plans, or stories: + +`tmt {test|plan|story} ls []` + +- Run all test steps for each plan: + +`tmt run` + +- Run selected plans and tests: + +`tmt run plan -n test -n ` + +- Show what tests a specific plan would run: + +`tmt run -vv discover plan -n ` + +- Show test results from the last run in a web browser: + +`tmt run -l report --how html --open` + +- Add context to a test run: + +`tmt -c foo=bar -c baz=qux,quux run [...]` + +- Validate metadata: + +`tmt lint` + +- View documentation for tmt-try: + +`tldr tmt-try`