Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
avocado
提交
84d38086
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,发现更多精彩内容 >>
提交
84d38086
编写于
9月 16, 2014
作者:
L
Lucas Meneghel Rodrigues
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
docs: Updating test references
Signed-off-by:
N
Lucas Meneghel Rodrigues
<
lmr@redhat.com
>
上级
aeeb6873
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
5 addition
and
5 deletion
+5
-5
docs/source/WritingTests.rst
docs/source/WritingTests.rst
+5
-5
未找到文件。
docs/source/WritingTests.rst
浏览文件 @
84d38086
...
@@ -112,7 +112,7 @@ Using a multiplex file
...
@@ -112,7 +112,7 @@ Using a multiplex file
You may use the avocado runner with a multiplex file to provide params and matrix
You may use the avocado runner with a multiplex file to provide params and matrix
generation for sleeptest just like::
generation for sleeptest just like::
$ avocado run sleeptest --multiplex
tests/sleeptest.py.data/sleeptest.mplx
$ avocado run sleeptest --multiplex
examples/tests/sleeptest.py.data/sleeptest.yaml
JOB ID : d565e8dec576d6040f894841f32a836c751f968f
JOB ID : d565e8dec576d6040f894841f32a836c751f968f
JOB LOG: /home/lmr/avocado/job-results/job-2014-08-12T15.44-d565e8de/job.log
JOB LOG: /home/lmr/avocado/job-results/job-2014-08-12T15.44-d565e8de/job.log
TESTS : 3
TESTS : 3
...
@@ -129,12 +129,12 @@ generation for sleeptest just like::
...
@@ -129,12 +129,12 @@ generation for sleeptest just like::
Note that, as your multiplex file specifies all parameters for sleeptest, you
Note that, as your multiplex file specifies all parameters for sleeptest, you
can't leave the test ID empty::
can't leave the test ID empty::
$ scripts/avocado run --multiplex
tests/sleeptest/sleeptest.mplx
$ scripts/avocado run --multiplex
examples/tests/sleeptest/sleeptest.yaml
Empty test ID. A test path or alias must be provided
Empty test ID. A test path or alias must be provided
If you want to run some tests that don't require params set by the multiplex file, you can::
If you want to run some tests that don't require params set by the multiplex file, you can::
$ avocado run sleeptest synctest --multiplex
tests/sleeptest.py.data/sleeptest.mplx
$ avocado run sleeptest synctest --multiplex
examples/tests/sleeptest.py.data/sleeptest.yaml
JOB ID : dd91ea5f8b42b2f084702315688284f7e8aa220a
JOB ID : dd91ea5f8b42b2f084702315688284f7e8aa220a
JOB LOG: /home/lmr/avocado/job-results/job-2014-08-12T15.49-dd91ea5f/job.log
JOB LOG: /home/lmr/avocado/job-results/job-2014-08-12T15.49-dd91ea5f/job.log
TESTS : 4
TESTS : 4
...
@@ -177,7 +177,7 @@ you want to use it, don't forget to ``chmod +x`` your test.
...
@@ -177,7 +177,7 @@ you want to use it, don't forget to ``chmod +x`` your test.
Executing an avocado test gives::
Executing an avocado test gives::
$ tests/sleeptest.py
$
examples/
tests/sleeptest.py
JOB ID : de6c1e4c227c786dc4d926f6fca67cda34d96276
JOB ID : de6c1e4c227c786dc4d926f6fca67cda34d96276
JOB LOG: /home/lmr/avocado/job-results/job-2014-08-12T15.48-de6c1e4c/job.log
JOB LOG: /home/lmr/avocado/job-results/job-2014-08-12T15.48-de6c1e4c/job.log
TESTS : 1
TESTS : 1
...
@@ -198,7 +198,7 @@ assemble a fully automated test grid, plus richer test API for tests on the
...
@@ -198,7 +198,7 @@ assemble a fully automated test grid, plus richer test API for tests on the
Linux platform. Regardless, the fact that an avocado class is also an unittest
Linux platform. Regardless, the fact that an avocado class is also an unittest
cass, you can run them with the ``nosetests`` application::
cass, you can run them with the ``nosetests`` application::
$ nosetests tests/sleeptest.py
$ nosetests
examples/
tests/sleeptest.py
.
.
----------------------------------------------------------------------
----------------------------------------------------------------------
Ran 1 test in 1.004s
Ran 1 test in 1.004s
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录