Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 29-Oct-2021 | - | ||||
basics/ | 29-Oct-2021 | - | ||||
cmdline/ | 29-Oct-2021 | - | ||||
cpydiff/ | 29-Oct-2021 | - | ||||
esp32/ | 29-Oct-2021 | - | ||||
extmod/ | 29-Oct-2021 | - | ||||
feature_check/ | 29-Oct-2021 | - | ||||
float/ | 29-Oct-2021 | - | ||||
haas/ | 29-Oct-2021 | - | ||||
import/ | 29-Oct-2021 | - | ||||
inlineasm/ | 29-Oct-2021 | - | ||||
internal_bench/ | 29-Oct-2021 | - | ||||
io/ | 29-Oct-2021 | - | ||||
jni/ | 29-Oct-2021 | - | ||||
micropython/ | 29-Oct-2021 | - | ||||
misc/ | 29-Oct-2021 | - | ||||
multi_bluetooth/ | 29-Oct-2021 | - | ||||
multi_net/ | 29-Oct-2021 | - | ||||
net_hosted/ | 29-Oct-2021 | - | ||||
net_inet/ | 29-Oct-2021 | - | ||||
perf_bench/ | 29-Oct-2021 | - | ||||
pyb/ | 29-Oct-2021 | - | ||||
pybnative/ | 29-Oct-2021 | - | ||||
qemu-arm/ | 29-Oct-2021 | - | ||||
results/ | 29-Oct-2021 | - | ||||
stress/ | 29-Oct-2021 | - | ||||
thread/ | 29-Oct-2021 | - | ||||
unicode/ | 29-Oct-2021 | - | ||||
unix/ | 29-Oct-2021 | - | ||||
wipy/ | 29-Oct-2021 | - | ||||
README | A D | 29-Oct-2021 | 739 | 22 | 14 | |
run-internalbench.py | A D | 29-Oct-2021 | 3.2 KiB | 108 | 76 | |
run-multitests.py | A D | 29-Oct-2021 | 14.8 KiB | 481 | 386 | |
run-natmodtests.py | A D | 29-Oct-2021 | 5.7 KiB | 204 | 155 | |
run-perfbench.py | A D | 29-Oct-2021 | 8.7 KiB | 282 | 218 | |
run-tests | A D | 29-Oct-2021 | 31.6 KiB | 712 | 537 | |
run-tests-exp.py | A D | 29-Oct-2021 | 2.6 KiB | 95 | 66 | |
run-tests-exp.sh | A D | 29-Oct-2021 | 1.7 KiB | 74 | 56 | |
timerisr.py | A D | 29-Oct-2021 | 162 | 7 | 5 | |
tinytest.py | A D | 29-Oct-2021 | 25 | 1 | 1 |
README
1MicroPython 测试框架:TinyTest 介绍 2 3测试环境 4本机需要安装: 5python3 6pyserial 7 8测试时,通过需要外接板子串口,TinyTest测试时,会在本机 python3 环境执行脚本,同时通过串口将脚本发送到板子进行测试。 9将返回的结果进行对比,如结果相同,则认为测试通过。 10 11该测试用于验证micropython的兼容性以及功能性。 12 13 14脚本测试命令: 15python3 run-tests --target haas100 --device /dev/cu.SLAB_USBtoUART -b 1500000 16 17 18单独测试某脚本命令: 19python3 run-tests --target haas100 --device /dev/cu.SLAB_USBtoUART -b 1500000 tinytest.py 20 21测试某个文件夹: 22python3 run-tests --target haas100 --device /dev/cu.SLAB_USBtoUART -b 1500000 -d thread