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

Merge remote-tracking branch 'apahim/docs_skip_decorator_teardown'

Signed-off-by: NCleber Rosa <crosa@redhat.com>
......@@ -987,6 +987,9 @@ Will produce the following result::
TESTS TIME : 0.00 s
JOB HTML : $HOME/avocado/job-results/job-2017-02-03T17.16-1bd8642/html/results.html
Notice that the `tearDown()` will not be executed when `skip()` is used.
Any cleanup treatment has to be handled by the `setUp()`, before the
call to `skip()`.
Avocado Skip Decorators
-----------------------
......@@ -1033,6 +1036,9 @@ Will produce the following result::
Notice the ``test3`` was not skipped because the provided condition was
not ``False``.
Using the skip decorators, since the `setUp()` was already executed, the
`tearDown()` will be also executed.
Cancelling Tests
================
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册