未验证 提交 d1503a1d 编写于 作者: C Cleber Rosa

Release 55.0

Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 4ecbf185
====================
55.0 Never Let Me Go
====================
The Avocado team is proud to present another release: Avocado version
55.0, aka, "Never Let Me Go" is now available!
Release documentation: `Avocado 55.0
<http://avocado-framework.readthedocs.io/en/55.0/>`_
The major changes introduced on this version are listed below,
roughly categorized into major topics and intended audience:
Users/Test Writers
==================
* Improvements in the serialization of TestIDs allow test result
directories to be properly stored and accessed on Windows based
filesystems.
* Support for listing and running golang tests has been introduced.
Avocado can now discover tests written in Go, and if Go is properly
installed, Avocado can run them.
* The support for test data files has been improved to support more
specific sources of data. For instance, when a test file used to
contain more than one test, all of them shared the same ``datadir``
property value, thus the same directory which contained data files.
Now, tests should use the newly introduced :meth:`get_data()
<avocado.core.test.TestData.get_data>` API, which will attempt to
locate data files specific to the variant (if used), test name, and
finally file name. For more information, please refer to the
section :ref:`accessing-test-data-files`.
* The output check feature will now use the to the most specific data
source location available, which is a consequence of the switch to
the use of the ``get_data()`` API discussed previously. This means
that two tests in a single file can generate different output,
generate different ``stdout.expected`` or ``stderr.expected``.
* When the output check feature finds a mismatch between expected and
actual output, will now produce a unified diff of those, instead of
printing out their full content. This makes it a lot easier to
read the logs and quickly spot the differences and possibly the
failure cause(s).
* Sysinfo collection can now be enabled on a test level basis.
* Progress towards Python 3 support. Avocado can now run most
commands on a Python 3 environment, including listing and running
tests. The goal is to make Python 3 a "top tier" environment in the
next release, being supported in the same way that Python 2 is.
Bug Fixes
=========
* Avocado logs its own version as part of a job log. In some
situations Avocado could log the version of a source repository,
if the current working directory was an Avocado git source repo.
That means that even when running, say, from RPM packages, the
version number based on the source code would be registered.
* The output check record feature used to mistakenly add a newline
to the end of the record stdout/stderr files.
* Problems with newline based buffering prevented Avocado from
properly recording test stdout/stderr. If no newline was given
at the end of a line, it would never show up in the stdout/stderr
files.
Internal Changes
================
* The reference to ``examples/*.yaml``, which isn't a valid set of
files, was removed from the package manifest.
* The flexmock library requirement, used on some unittests, has been
removed. Those tests were rewritten using ``mock``, which is
standard on Python 3 (``unittest.mock``) and available on Python 2
as a standalone module.
For more information, please check out the complete
`Avocado changelog
<https://github.com/avocado-framework/avocado/compare/55.0...54.1>`_.
Release Meeting
===============
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
<https://www.youtube.com/channel/UC-RVZ_HFTbEztDM7wNY4NfA>`_.
For this release, you can watch the meeting on `this link
<https://www.youtube.com/watch?v=Zk4B8H6L53Y>`_.
----
| Sprint theme: https://trello.com/c/Oplm42c0/1132-sprint-theme-never-let-me-go
......@@ -16,6 +16,7 @@ released.
.. toctree::
:maxdepth: 1
55_0
54_1
54_0
53_0
......
......@@ -44,15 +44,42 @@ introduced by the next LTS version are:
* Avocado can now run list and run standard Python unittests, that is,
tests written in Python that use the :mod:`unittest` library alone.
* The Test ID format Avocado has been using for a while received a
minor tweak: the character that precedes the variant name, a
separator, used to be ``;``, which is not allowed on some
filesystems, and is now a ``+`` character instead.
* Improvements in the serialization of TestIDs allow test result
directories to be properly stored and accessed on Windows based
filesystems.
* The complete output of tests, that is the combination of ``STDOUT``
and ``STDERR`` is now also recorded in the test result directory as
a file named ``output``.
* Support for listing and running golang tests has been introduced.
Avocado can now discover tests written in Go, and if Go is properly
installed, Avocado can run them.
* The support for test data files has been improved to support more
specific sources of data. For instance, when a test file used to
contain more than one test, all of them shared the same ``datadir``
property value, thus the same directory which contained data files.
Now, tests should use the newly introduced :meth:`get_data()
<avocado.core.test.TestData.get_data>` API, which will attempt to
locate data files specific to the variant (if used), test name, and
finally file name. For more information, please refer to the
section :ref:`accessing-test-data-files`.
* The output check feature will now use the to the most specific data
source location available, which is a consequence of the switch to
the use of the ``get_data()`` API discussed previously. This means
that two tests in a single file can generate different output,
generate different ``stdout.expected`` or ``stderr.expected``.
* When the output check feature finds a mismatch between expected and
actual output, will now produce a unified diff of those, instead of
printing out their full content. This makes it a lot easier to
read the logs and quickly spot the differences and possibly the
failure cause(s).
* Sysinfo collection can now be enabled on a test level basis.
Complete list of changes
========================
......
......@@ -10,7 +10,7 @@
%global gittar %{srcname}-%{version}.tar.gz
%else
%if ! 0%{?commit:1}
%global commit 1d4e7bdf857cf9408113a3a39cd327b4fe22c64c
%global commit 4ecbf18580fa5205a79c9742cbe1219537975045
%endif
%if ! 0%{?commit_date:1}
%global commit_date 20170518
......@@ -28,8 +28,8 @@
Summary: Framework with tools and libraries for Automated Testing
Name: python-%{srcname}
Version: 54.1
Release: 3%{?gitrel}%{?dist}
Version: 55.0
Release: 0%{?gitrel}%{?dist}
License: GPLv2
Group: Development/Tools
URL: http://avocado-framework.github.io/
......@@ -393,6 +393,9 @@ examples of how to write tests on your own.
%{_datadir}/avocado/yaml_to_mux_loader
%changelog
* Tue Oct 17 2017 Cleber Rosa <cleber@redhat.com> - 55.0-0
- New upstream release
* Mon Oct 16 2017 Cleber Rosa <cleber@redhat.com> - 54.1-3
- Excluded avocado_loader_yaml files from main package
- Package recently introduced golang plugin
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册