74.0 Home Alone¶
The Avocado team is proud to present another release: Avocado 74.0, AKA “Home Alone”, is now available!
Release documentation: Avocado 74.0
- A new test type,
TAPhas been introduced along with a new loader and resolver. With a
TAPtest, it’s possible to execute a binary or script, similar to a
SIMPLEtest, and part its Test Anything Protocol output to determine the test status.
- It’s now possible to enforce colored or non-colored output, no
matter if the output is a terminal or not. The configuration item
colorwas introduced in the
runner.outputsection, and recognize the values
safeloadermechanism that discovers both Avocado’s Python based
INSTRUMENTEDtests, and Python’s native unittests, would fail to find any tests if any of the classes on a given file contained references to a module that was not on a parent location. Now, the
safeloadercode will continue the discovery process, ignoring the modules that were not found at parent locations.
avocado.utils.kernelreceived a number of fixes and cleanups, and also new features. It’s now possible to configure the kernel for multiple targets, and also set kernel configurations at configuration time without manually touching the kernel configuration files. It also introduced the
avocado.utils.kernel.KernelBuild.vmlinux()property, allowing users to access that image if it was built.
avocado.utils.network.set_mtu_host()now are plain functions, instead of methods of a class that shared nothing between them.
- New functions such as
avocado.utils.multipath.suspend_mpath()have been introduced :func:to the
avocado.utils.vmimagemodule will not try to create snapshot images when it’s not needed, acting lazily in that regard. It now provides a different method for download-only operations,
avocado.utils.vmimage.Image.download()that returns the base image location. The behavior of the
avocado.utils.vmimage.Image.get()method is unchanged in the sense that it returns the path of a snapshot image.