Skip to content

rattler-build test#

Run a test for a single package

Usage#

rattler-build test [OPTIONS] --package-file <PACKAGE_FILE>

Options#

Modifying result#

Description#

Run a test for a single package

This creates a temporary directory, copies the package file into it, and then runs the indexing. It then creates a test environment that installs the package and any extra dependencies specified in the package test dependencies file.

With the activated test environment, the packaged test files are run:

  • info/test/run_test.sh or info/test/run_test.bat on Windows * info/test/run_test.py

These test files are written at "package creation time" and are part of the package.