LinuxCommandLibrary

tmt-try

Interactive tmt test experimentation

TLDR

Experiment with default provision

$ tmt try
copy
Run test in current directory
$ cd [path/to/test_directory] && tmt try
copy
Use specific operating system
$ tmt try [rhel-9]
copy
Select image and provision method
$ tmt try [fedora@container]
copy
Filter tests
$ tmt try -t [feature]
copy
Provision and wait for instructions
$ tmt try -a
copy
Directly login to guest
$ tmt try -l
copy

SYNOPSIS

tmt try [OPTIONS] [IMAGE]

DESCRIPTION

tmt try provides quick experimentation with tests and environments. It simplifies the process of provisioning test environments and running tests interactively.
The command can detect tests in the current directory and run them in specified environments. It supports various operating system images and provisioning methods including containers and virtual machines.

PARAMETERS

-t, --test PATTERN

Select tests matching pattern
-a, --ask
Provision guest and wait for instructions
-l, --login
Directly log into the guest without asking
--help
Display help information

CAVEATS

Requires tmt project structure. Image availability depends on provisioning backend. Interactive mode requires terminal access. Some images may require authentication or special configuration.

SEE ALSO

tmt(1), tmt-run(1), podman(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community