-
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
d83a790
commit 40895fc
Showing
2 changed files
with
68 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,32 @@ | ||
# tmt try | ||
|
||
> Quickly experiment with tests and environments. See also: `tmt`, `tmt-run`. | ||
> 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` | ||
|
||
- List all available options: | ||
|
||
`tmt try --help` |
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. See also: `tmt-run`, `tmt-try`. | ||
> More information: <https://tmt.readthedocs.io>. | ||
- View documentation for `tmt run`: | ||
|
||
`tldr tmt-run` | ||
|
||
- View documentation for `tmt try`: | ||
|
||
`tldr tmt-try` | ||
|
||
- Make project tests manageable by `tmt`: | ||
|
||
`tmt init` | ||
|
||
- Create a new test with optional arguments like template and link: | ||
|
||
`tmt create --template beakerlib --link verifies:issue#1234` | ||
|
||
- List available tests, plans, or stories: | ||
|
||
`tmt <test|plan|story> ls [<pattern>]` | ||
|
||
- Validate metadata: | ||
|
||
`tmt lint` | ||
|
||
- Docs, test & implementation coverage for selected stories: | ||
|
||
`tmt story coverage [<pattern>]` | ||
|
||
- Use filter: | ||
|
||
`tmt tests ls --filter tag:foo --filter tier:0` |