Skip to main content

Test Metadata Tool

Project description

Test Metadata Tool

Description

The tmt Python module and command line tool implement the test metadata specification (L1 and L2) and allows easy test execution.

Synopsis

Command line usage is straightforward:

tmt command [options]

Examples

By default all steps are executed for each testset detected:

tmt

You can select which steps should be performed:

tmt discover

Multiple steps can be provided as well:

tmt prepare execute

Check help message of individual commands for the full list of available options.

Options

Here is the list of the most frequently used options.

Steps

Select steps to be executed.

discover

gather info about test cases to be run

provision

what environment is needed for testing, how it should provisioned

prepare

additional configuration needed for testing (e.g. ansible playbook)

execute

test execution itself (e.g. framework and its settings)

report

adjusting notifications about the test progress and results

finish

actions to be performed after the test execution has been completed

Utils

Various utility options.

--path PATHS

Path to the metadata tree (default: current directory)

--verbose

Print additional information standard error output

--debug

Turn on debugging output, do not catch exceptions

Check help message of individual commands for the full list of available options.

Install

The tmt package will be available in Fedora and EPEL:

dnf install tmt

Install the latest version from the Copr repository:

dnf copr enable psss/tmt
dnf install tmt

or use PIP (sudo required if not in a virtualenv):

pip install tmt

See documentation for more details about installation options.

Authors

Petr Šplíchal.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

tmt-0.1.1-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page