Skip to content

Commit 7e227f1

Browse files
author
zhen.guo
committed
add V2.1
1 parent 8faa85e commit 7e227f1

5 files changed

Lines changed: 17 additions & 38 deletions

File tree

README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,15 @@ QuecPython产测工具是专用于QuecPython项目对模块功能测试的工具
99
所有使用QuecPython开发的模块均可使用
1010

1111
## 功能介绍
12-
1. 支持QuecPython项目功能测试
13-
2. 支持4台设备同步测试
14-
3. 支持自动测试
15-
3. 支持人工断点测试
12+
1. 支持4台设备同步测试
13+
2. 支持自动测试和人工断点测试
14+
3. 可自定义测试脚本,测试方式(自动测试和人工测试)
1615

16+
## 工具获取
1717

18-
## 如何拉取仓库
18+
[FactoryTool-Tags](https://github.com/QuecPython/FactoryTool/tags)
1919

20-
```shell
21-
git clone --recurse-submodules https://github.com/QuecPython/FactoryTool.git -b interventionable
22-
```
20+
github上进入FactoryTool项目最新的tag,可以下载可执行包( FactoryTool.zip ) 和 源代码( Source code(zip/tar.gz) )
2321

2422
## 页面介绍
2523

@@ -143,6 +141,14 @@ class TestBase(object):
143141
该文件会保存在工具同级目录下,测试过程中自动追加
144142

145143

144+
## 如何拉取仓库
145+
146+
若有二次开发需求,可直接拉取代码仓库
147+
148+
```shell
149+
git clone --recurse-submodules https://github.com/QuecPython/FactoryTool.git -b interventionable
150+
```
151+
146152
## 环境配置
147153

148154
**安装依赖库**

locale/en/LC_MESSAGES/English.mo

0 Bytes
Binary file not shown.

locale/en/LC_MESSAGES/English.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ msgid "
114114
msgstr " The current test item is: "
115115

116116
msgid "\r\n\r\n 请确认该测试项 【是否通过】"
117-
msgstr "\r\n\r\n Please confirm the test item 【Passed or Not"
117+
msgstr "\r\n\r\n Please confirm the test result [Passed or Not]"
118118

119119
msgid "是否恢复上次文件"
120120
msgstr "Do you want to restore the last file"

module_test.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -24,29 +24,5 @@ def det_file_space():
2424
return True
2525
else:
2626
return False
27-
28-
@staticmethod
29-
def det_file_space1():
30-
utime.sleep(2)
31-
if uos.statvfs('usr')[3] > 5:
32-
return True
33-
else:
34-
return False
35-
36-
@staticmethod
37-
def det_file_space2():
38-
utime.sleep(2)
39-
if uos.statvfs('usr')[3] > 5:
40-
return True
41-
else:
42-
return False
43-
44-
@staticmethod
45-
def det_file_space3():
46-
utime.sleep(2)
47-
if uos.statvfs('usr')[3] > 5:
48-
return True
49-
else:
50-
return False
5127
# ------该区域为测试代码------
5228

sort_setting.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
2-
"info": [["内存检测", "det_file_space", 0],
3-
["信号检测", "det_signal", 0],
4-
["内存检测1", "det_file_space1", 0],
5-
["内存检测2", "det_file_space2", 0],
6-
["内存检测3", "det_file_space3", 0]]
2+
"info": [["Memory test", "det_file_space", 1],
3+
["Signal test", "det_signal", 0]]
74
}

0 commit comments

Comments
 (0)