• Home
  • Annotate
  • current directory
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 D29-Oct-2021739 2214

run-internalbench.py A D29-Oct-20213.2 KiB10876

run-multitests.py A D29-Oct-202114.8 KiB481386

run-natmodtests.py A D29-Oct-20215.7 KiB204155

run-perfbench.py A D29-Oct-20218.7 KiB282218

run-tests A D29-Oct-202131.6 KiB712537

run-tests-exp.py A D29-Oct-20212.6 KiB9566

run-tests-exp.sh A D29-Oct-20211.7 KiB7456

timerisr.py A D29-Oct-2021162 75

tinytest.py A D29-Oct-202125 11

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