已合并
【社区学习赛】docs: 更新文件 README.md #2015
yueshengmenghua创建于 8月13日
【社区学习赛】docs: 更新文件 README.md #2015
已合并
yueshengmenghua创建于 8月13日
共 2 个文件变更+27-27
@@ -1,27 +1,27 @@
1-# Testing and Delivering Methodology 1+# Testing and Delivering Methodology
2- 2+
3-## Prerequisites for Creating Charts3+## Prerequisites for Creating Charts
4-Prerequisites for creating charts are `plotly.express` and `pandas` packages. They can be installed by commands:4+Prerequisites for creating charts are `plotly.express` and `pandas` packages. They can be installed by commands:
5-```shell5+```shell
6-pip3 install pandas plotly.express6+pip3 install pandas plotly
7-```7+```
8- 8+
9-## Prerequisites for Memory Test9+## Prerequisites for Memory Test
10-```shell10+```shell
11-pip3 install -U memory_profiler11+pip3 install -U memory_profiler
12-```12+```
13- 13+
14-## Chart with Tests Sorted by Execution Time14+## Chart with Tests Sorted by Execution Time
15-You can create chart with tests sorted by execution time with script `plot_run_time.py`15+You can create chart with tests sorted by execution time with script `plot_run_time.py`
16- 16+
17-First of all you should get your `results.log.json` file.17+First of all you should get your `results.log.json` file.
18-To collect data you can run test cases from TEST SUITE with harness:18+To collect data you can run test cases from TEST SUITE with harness:
19-```shell19+```shell
20-python3 ../harness/harness.py --tests src/tests20+python3 ../harness/harness.py --tests src/tests
21-```21+```
22- *Note:* the `results.log.json` file will be in work directory22+ *Note:* the `results.log.json` file will be in work directory
23- 23+
24-And at the end you can create chart with tests sorted by execution time:24+And at the end you can create chart with tests sorted by execution time:
25-```shell25+```shell
26-python3 ./tdm/plot_run_time.py -i path2_results.log.json -o exec_time.html26+python3 ./tdm/plot_run_time.py -i path2_results.log.json -o exec_time.html
27```27```
@@ -3,7 +3,7 @@
3## 创建图表的前置条件3## 创建图表的前置条件
4创建图表的前置条件是 `plotly.express` 和 `pandas` 包。可以通过以下命令安装:4创建图表的前置条件是 `plotly.express` 和 `pandas` 包。可以通过以下命令安装:
5```shell5```shell
6-pip3 install pandas plotly.express6+pip3 install pandas plotly
7```7```
8 8 
9## 内存测试的前置条件9## 内存测试的前置条件