92.0 Monsters, Inc.¶
The Avocado team is proud to present another release: Avocado 92.0, AKA “Monsters, Inc.”, is now available!
Release documentation: Avocado 92.0
On the previous version (91.0), Avocado has switched the default
runner, from the implementation most people currently use (internally
runner), to the newer architecture and
Users migrating from Avocado 90.0 or earlier versions will be impacted by this change and should act accordingly.
To keep using the current (soon to be legacy) runner, you must set
--test-runner=runner command line option (or the equivalent
test_runner configuration option, under section
Known issues are being tracked on our GitHub project page, with the
nrunner tag, and new issue reports are appreciated.
The Human UI plugin can now be configured to omit certain statuses from being shown in a new line. This can be used, for instance, to prevent the
STARTEDlines to be shown, showing only the final test result.
execrunnable kind does not exist anymore, and its functionality was consolidated into the
Executing Python’s unittest that are skipped are now always shown as having status
SKIP, instead of the previous
Avocado will no longer incorporate log messages coming from any logger (including the “root logger”) into the test’s and job’s log files. Only loggers that under the
avocado.namespace will be included. Users are encouraged to continue to follow the pattern:
self.log.info("message goes here")
When logging from a test. When logging from somewhere else, the following pattern is advised (replace
import logging LOG = logging.getLogger('avocado.my.namespace') LOG.info('your message')
Python 3.10 is now fully supported.
The reason for fail/error/skip tests in Python unittest are now given on the various test result formats (including on the UI).
- Properties, that is, methods decorated with
@propertyare no longer seen as tests.
- If a path to a Python unittest file contained dots, the conversion to a unittest “dotted name” would fail.
- Tests on classes that inherit from one marked with
:avocado: disablewere not being detected.
- A specific exception, and thus a clearer error message, is now used
when a command with an empty string is given to
- Added example jobs for
exec-testrunnables, and for YAML to Mux.
- The test logs on the nrunner generated
debug.logfile are now prefixed with
[debug]to avoid confusion with the log level of same name.
- Added setuptools entry-points for all nrunner implementations under
- The Podman spawner now checks for the existence of the
- Misc documentation improvements.
- CI deployment checks with different installation methods (sources) were added.
selftests/check.pynow properly accepts multiple plugin names.
- Templates for GitHub issues for bugs and feature requests were added.
For more information, please check out the complete Avocado changelog.