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]
[--package_repository] [--packages] [--packages_order]
[--pip_utils] [--plugin_manager] [--release]
[--resources_] [--rex] [--schema] [--shells] [--solver]
[--suites] [--test] [--util] [--utils] [--utils_elf]
[--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=noshorthand-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)
- --package_repository¶
Test package repository plugin
- --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
schemamodule
- --shells¶
test shell invocation
- --solver¶
test dependency resolving algorithm
- --suites¶
test suites
- --test¶
test rez package.py unit tests
- --util¶
unit tests for
utilmodule
- --utils¶
unit tests for
utils.filesystemmodule
- --utils_elf¶
unit tests for
rez.utils.elfmodule
- --utils_filesystem¶
unit tests for
rez.utils.filesystemmodule
- --utils_formatting¶
unit tests for
utils.formattingmodule
- --utils_resolve_graph¶
unit tests for
utils.resolve_graphmodule
- --version¶
unit tests for
rez.versionmodule
- -v, --verbose¶
verbose mode, repeat for more verbosity