checkdepends
Checkdepends is a field used in Arch Linux PKGBUILD files to declare dependencies that are required to run the package’s test suite. It is distinct from depends, which lists runtime dependencies, and makedepends, which lists build-time dependencies. The checkdepends array specifies the packages that provide tools or libraries needed only for testing, such as unit-test frameworks, test runners, or language-specific test utilities.
In a PKGBUILD, checkdependencies are declared as an array, for example: checkdepends=('check' 'pytest' 'libxml2'). The packages
Behavior and usage notes: checkdepends is primarily relevant when maintainers wish to run the package’s test
Best practices: place only those packages needed to run tests in checkdepends, and avoid including runtime