Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
avocado
提交
6e726259
A
avocado
项目概览
openeuler
/
avocado
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
avocado
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
6e726259
编写于
5月 16, 2017
作者:
C
Cleber Rosa
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Release 50.0
Signed-off-by:
N
Cleber Rosa
<
crosa@redhat.com
>
上级
76cae5dd
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
116 addition
and
9 deletion
+116
-9
VERSION
VERSION
+1
-1
docs/source/WritingTests.rst
docs/source/WritingTests.rst
+2
-0
docs/source/release_notes/50_0.rst
docs/source/release_notes/50_0.rst
+101
-0
docs/source/release_notes/index.rst
docs/source/release_notes/index.rst
+1
-0
optional_plugins/html/VERSION
optional_plugins/html/VERSION
+1
-1
optional_plugins/resultsdb/VERSION
optional_plugins/resultsdb/VERSION
+1
-1
optional_plugins/robot/VERSION
optional_plugins/robot/VERSION
+1
-1
optional_plugins/runner_docker/VERSION
optional_plugins/runner_docker/VERSION
+1
-1
optional_plugins/runner_remote/VERSION
optional_plugins/runner_remote/VERSION
+1
-1
optional_plugins/runner_vm/VERSION
optional_plugins/runner_vm/VERSION
+1
-1
python-avocado.spec
python-avocado.spec
+5
-2
未找到文件。
VERSION
浏览文件 @
6e726259
49
.0
50
.0
docs/source/WritingTests.rst
浏览文件 @
6e726259
...
...
@@ -1356,6 +1356,8 @@ parameter, no test will be included::
$ avocado list perf.py --filter-by-tags=disk,slow,superuser,safe | wc -l
0
.. _categorizing-tests-tags-on-methods:
Test tags can be applied to test classes and to test methods. Tags are
evaluated per method, meaning that the class tags will be inherited by
all methods, being merged with method local tags. Example::
...
...
docs/source/release_notes/50_0.rst
0 → 100644
浏览文件 @
6e726259
=================
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
<http://avocado-framework.readthedocs.io/en/50.0/>`_
The major changes introduced on this version are listed below,
roughly categorized into major topics and intended audience:
Users/Test Writers
==================
* 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
feature, provide ``--replay-resume`` on the Avocado execution that
proceeds the crash or interruption.
* The docstring directives that Avocado uses to allow for :ref:`test
categorization <categorizing-tests>` 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 :ref:`example
<categorizing-tests-tags-on-methods>`.
* 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.
* The :class:`avocado.core.plugin_interfaces.JobPre` is now properly
called *before* :meth:`avocado.core.job.Job.run`, and accordingly
:class:`avocado.core.plugin_interfaces.JobPost` is called *after*
it. Some plugins which depended on the previous behavior can use
the :class:`avocado.core.plugin_interfaces.JobPreTests` and
:class:`avocado.core.plugin_interfaces.JobPostTests` for 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
<https://github.com/avocado-framework/avocado-vt/commit/d1cef6d>`_.
* The Avocado ``multiplex`` command has been renamed to ``variants``.
Users of ``avocado multiplex`` will notice a deprecation message,
and are urged to switch to the new command. The command line
options and behavior of the ``variants`` command is identical to the
``multiplex`` one.
* The number of variants produced with the ``multiplex`` command (now
``variants``) was missing in the previous version. It's now been
restored.
Internal Changes
================
* 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.
* The ``test_tests_tmp_dir`` selftests 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
:data:`avocado.core.runner.TIMEOUT_TEST_INTERRUPTED`,
:data:`avocado.core.runner.TIMEOUT_PROCESS_DIED` and
:data:`avocado.core.runner.TIMEOUT_PROCESS_ALIVE`).
* Some cleanups and refactors were made to how the ``SKIP`` and
``CANCEL`` test statuses are implemented.
For more information, please check out the complete
`Avocado changelog
<https://github.com/avocado-framework/avocado/compare/49.0...50.0>`_.
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=MHOZbj29hBQ>`_.
----
| Sprint theme: https://trello.com/c/FleklxHi/1016-sprint-theme-a-dog-s-will-2000
docs/source/release_notes/index.rst
浏览文件 @
6e726259
...
...
@@ -9,6 +9,7 @@ The following pages summarize what is new in Avocado:
.. toctree::
:maxdepth: 1
50_0
49_0
48_0
47_0
...
...
optional_plugins/html/VERSION
浏览文件 @
6e726259
49
.0
50
.0
optional_plugins/resultsdb/VERSION
浏览文件 @
6e726259
49
.0
50
.0
optional_plugins/robot/VERSION
浏览文件 @
6e726259
49
.0
50
.0
optional_plugins/runner_docker/VERSION
浏览文件 @
6e726259
49
.0
50
.0
optional_plugins/runner_remote/VERSION
浏览文件 @
6e726259
49
.0
50
.0
optional_plugins/runner_vm/VERSION
浏览文件 @
6e726259
49
.0
50
.0
python-avocado.spec
浏览文件 @
6e726259
...
...
@@ -28,8 +28,8 @@
Summary: Framework with tools and libraries for Automated Testing
Name: python-%{srcname}
Version:
49
.0
Release:
2
%{?gitrel}%{?dist}
Version:
50
.0
Release:
0
%{?gitrel}%{?dist}
License: GPLv2
Group: Development/Tools
URL: http://avocado-framework.github.io/
...
...
@@ -321,6 +321,9 @@ examples of how to write tests on your own.
%{_datadir}/avocado/wrappers
%changelog
* Tue May 16 2017 Cleber Rosa <cleber@redhat.com> - 50.0-0
- New upstream release
* Thu Apr 27 2017 Cleber Rosa <cleber@redhat.com> - 49.0-2
- Also setup resultsdb plugin on check
- Be explicit about selftest level run on check
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录