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 details)

Uploaded Python 3

File details

Details for the file tmt-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tmt-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for tmt-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69d021863b5d697d3738c4e22756353c36f97d3976076e6465cbea1423b9e6de
MD5 611d494c5f721e5c97b4fd79c712ef2a
BLAKE2b-256 d04062de65958f8f94f86eff00abc19353bb766ab394fe14fbd0e3966e84de94

See more details on using hashes here.

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