rez-selftest¶
Usage¶
rez selftest [-h] [-s SHELL] [--keep-tmpdirs] [--bind] [--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] [--util] [--utils]
[--utils_filesystem] [--utils_formatting]
[--utils_resolve_graph] [--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.
- --keep-tmpdirs¶
Keep temporary directories.
- --bind¶
test package_bind module
- --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
- --util¶
unit tests for ‘util’ module
- --utils¶
unit tests for ‘utils.filesystem’ module
- --utils_filesystem¶
unit tests for ‘rez.utils.filesystem’ module
- --utils_formatting¶
unit tests for ‘utils.formatting’ module
- --utils_resolve_graph¶
unit tests for ‘utils.resolve_graph’ module
- --version¶
unit tests for ‘rez.version’ module
- -v, --verbose¶
verbose mode, repeat for more verbosity