50.0 A Dog’s Will¶
The Avocado team is proud to present another release: Avocado version 50.0, aka, “A Dog’s Will” now available!
Release documentation: Avocado 50.0
The major changes introduced on this version are listed below, roughly categorized into major topics and intended audience:
- Avocado now supports resuming jobs that were interrupted. This means
that a system crash, or even an intentional interruption, won’t
prevent you from continuing the execution of a job. To use this
--replay-resumeon the Avocado execution that proceeds the crash or interruption.
- The docstring directives that Avocado uses to allow for test categorization was previously limited to a class docstring. Now, individual test methods can also have their own tags, while also respecting the ones at the class level. The documentation has been updated with an example.
- The HTML report now presents the test ID and variant ID in separate columns, allowing users to also sort and filter results based on those specific fields.
- The HTML report will now show the test parameters used in a test when the user hovers the cursor over the test name.
- Avocado now reports the total job execution time on the UI, instead
of just the tests execution time. This may affect users that are
looking for the
TESTS TIME:line, and reinforce that machine readable formats such as JSON and XUnit are more dependable than the UI intended for humans.
avocado.core.plugin_interfaces.JobPreis now properly called before
avocado.core.job.Job.run(), and accordingly
avocado.core.plugin_interfaces.JobPostis called after it. Some plugins which depended on the previous behavior can use the
avocado.core.plugin_interfaces.JobPostTestsfor a similar behavior. As a example on how to write plugin code that works properly this Avocado version, as well as on previous versions, take a look at this accompanying Avocado-VT plugin commit.
- The Avocado
multiplexcommand has been renamed to
variants. Users of
avocado multiplexwill notice a deprecation message, and are urged to switch to the new command. The command line options and behavior of the
variantscommand is identical to the
- The number of variants produced with the
variants) was missing in the previous version. It’s now been restored.
- Avocado’s own internal tests now can be given different level marks, and will run a different level on different environments. The idea is to increase coverage without having false positives on more restricted environments.
test_tests_tmp_dirselftests that was previously disable due to failure on our CI environment was put back to be executed.
- The amount of the test runner will wait for the test process exit
status has received tweaks and is now better documented (see
- Some cleanups and refactors were made to how the
CANCELtest statuses are implemented.
For more information, please check out the complete Avocado changelog.
The Avocado release meetings are now open to the community via Hangouts on Air. The meetings are recorded and made available on the Avocado Test Framework YouTube channel.
For this release, you can watch the meeting on this link.