18 Star 3 Fork 4

openEuler/LTF

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
README.en.md 1.49 KB
一键复制 编辑 原始数据 按行查看 历史

Linux-Test-Framework

Linux automated testing framework https://gitee.com/openeuler/LTF

一. Running tests

  1. To run these tests on your local machine :

1.1 Execute "./Run.sh -f XML file" in the terminal, Multiple serial numbers should be separated by colons.

1.2 Execute "./ltfMenu.sh" in the terminal, flexibly combine and select the serial numbers before the test modules according to the need, multiple numbers can be separated by spaces, and then enter the character "r" to run.

1.2.1 Performance Testing Method

When executing ./ltfMenu.sh, you can enter "s" in the menu option interface to customize the performance testing tools. Select the serial numbers before the tools, multiple numbers can be separated by spaces. Customize the xml name for this test according to the prompt, and then press Enter to return to the menu option interface to select the serial number corresponding to the xml name. "y" indicates to check the execution environment of the performance test item, such as whether the dependent packages are installed. "n" indicates not to check the execution environment of the performance test item. Press Enter and execute "r" to start running the test item.

二. Writing tests

Feel free to add the test modules you want to make. For example, the "Linux Command" test. You can create the "commands" folder in the testcases directory. And add the corresponding xml file in the config directory.

There is an xml parsing script in the lib folder. Use "source xmlParse.sh" if necessary

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openeuler/LTF.git
git@gitee.com:openeuler/LTF.git
openeuler
LTF
LTF
master

搜索帮助