tmt, tmt-run, tmt-try: add Chinese translation (#14962)
The pages translated are from PR [14921][01]. [01]: https://github.com/tldr-pages/tldr/pull/14921 Signed-off-by: Huanian Li <idorax@126.com> Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
36
pages.zh/linux/tmt-run.md
Normal file
36
pages.zh/linux/tmt-run.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# tmt run
|
||||
|
||||
> 执行测试步骤。默认情况下,所有测试步骤都被执行。
|
||||
> 更多信息:<https://tmt.readthedocs.io/en/stable/overview.html#run>.
|
||||
|
||||
- 在每一个计划中执行所有测试步骤:
|
||||
|
||||
`tmt run`
|
||||
|
||||
- 仅在发现步骤中显示将要执行的测试:
|
||||
|
||||
`tmt run discover -v`
|
||||
|
||||
- 运行所有测试步骤并调整测试环境配置步骤选项:
|
||||
|
||||
`tmt run --all provision --how {{container}} --image {{fedora:rawhide}}`
|
||||
|
||||
- 仅执行选定的计划和测试:
|
||||
|
||||
`tmt run plan --name {{/plan/name}} test --name {{/test/name}}`
|
||||
|
||||
- 在网页浏览器中显示上次运行的结果:
|
||||
|
||||
`tmt run --last report --how {{html}} --open`
|
||||
|
||||
- 在提供的上下文中运行测试:
|
||||
|
||||
`tmt run --context {{key=value}} -c {{distro=fedora}}`
|
||||
|
||||
- 以交互方式运行测试(在测试运行过程中调试测试代码):
|
||||
|
||||
`tmt run --all execute --how {{tmt}} --interactive`
|
||||
|
||||
- 使用干模式查看接下来将发生的动作,并将输出详实度设置为最高级:
|
||||
|
||||
`tmt run --dry -vvv`
|
Reference in New Issue
Block a user