-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c4b0ea
commit decb889
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# tmt try | ||
|
||
> Quickly experiment with tests and environments. | ||
> More information: <https://tmt.readthedocs.io/en/stable/stories/cli.html#try>. | ||
- 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` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# tmt | ||
|
||
> Test Management Tool for creating, running and debugging tests. | ||
> More information: <https://tmt.readthedocs.io>. | ||
- List available tests, plans, or stories: | ||
|
||
`tmt {test|plan|story} ls [<pattern>]` | ||
|
||
- Run all test steps for each plan: | ||
|
||
`tmt run` | ||
|
||
- Run selected plans and tests: | ||
|
||
`tmt run plan -n <plan_name> test -n <test_name>` | ||
|
||
- Show what tests a specific plan would run: | ||
|
||
`tmt run -vv discover plan -n <plan_name>` | ||
|
||
- 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` |