packit-test - Man Page

Run tmt tests locally using content from...

Synopsis

packit test [Options] [PATH_OR_URL]

Description

       Run tmt tests locally using content from the upstream repository.

       This command builds RPMs from the current repository state and runs
       tests in containerized environments, mimicking Packit's testing service
       behavior for local debugging and development.

Options

-p, --package TEXT

Package to source build, if more than one available, like in a monorepo configuration. Use it multiple times to select multiple packages.Defaults to all the packages listed inside the config.

--rpm_paths TEXT

Path to RPM file(s) to test. Can be used multiple times.If not provided, RPMs will be built automatically from source.

--target TEXT

Container image for the testing environment, e.g., `fedora:39`, `centos:stream9`.

--plan TEXT

List of specific tmt plans to run. Can be used multiple times. If not specified, all plans are executed.

--clean-before / --no-clean-before

Run 'tmt clean --all' before starting the test (default: disabled).

Referenced By

packit(1).

2026-01-16 1.14.0 packit test Manual