rez-selftest#
Usage#
rez selftest [-h] [-s SHELL] [--build] [--cli] [--commands]
[--completion] [--config] [--context] [--copy_package]
[--formatter] [--imports] [--package_cache]
[--package_filter] [--packages] [--packages_order]
[--pip_utils] [--plugin_manager] [--release]
[--resources_] [--rex] [--schema] [--shells] [--solver]
[--suites] [--utils] [--utils_py23] [--version] [-v]
[NAMED_TEST ...]
description#
Run unit tests. Use pytest if available.
Options#
- -s, --only-shell <shell>#
limit shell-dependent tests to the specified shell. Note: This flag shadowed pytest ‘–capture=no’ shorthand ‘-s’, so the long name must be used for disabling stdout/err capturing in pytest.
- --build#
test the build system
- --commands#
test package commands
- --completion#
test completions
- --config#
test configuration settings
- --context#
test resolved contexts
- --copy_package#
test package copying
- --formatter#
test rex string formatting
- --imports#
test importing of all source
- --package_cache#
Test package caching
- --package_filter#
Test cases for package_filter.py (package filtering)
- --packages#
test package iteration, serialization etc
- --packages_order#
Test cases for package_order.py (package ordering)
- --pip_utils#
test the pip utilities
- --plugin_manager#
test rezplugins manager behaviors
- --release#
test the release system
- --resources_#
test core resource system
- --rex#
test the rex command generator API
- --schema#
unit tests for ‘schema’ module
- --shells#
test shell invocation
- --solver#
test dependency resolving algorithm
- --suites#
test suites
- --utils#
unit tests for ‘utils.filesystem’ module
- --utils_py23#
unit tests for ‘utils.py23’ module
- --version#
unit tests for ‘version’ module
- -v, --verbose#
verbose mode, repeat for more verbosity