1Thread Harness Automation Quick Start 2===================================== 3 4Setup 5----- 6 7#. Install Thread-Test-Harness1.1-Alpha v1.0-Release_40.0 8#. Install python 2.7 9#. Get the OpenThread and switch to the harness automation path:: 10 11 git clone https://github.com/openthread/openthread.git 12 cd openthread/tools/harness-automation 13 14#. Install python libraries dependencies:: 15 16 pip install -r requirements.txt 17 18#. Update settings. 19 20 Just copy the sample and modify according to the comments carefully:: 21 22 cp autothreadharness/settings_sample.py autothreadharness/settings.py 23 24Run single case 25--------------- 26 27:: 28 29 # bash 30 ./start.sh Router_5_1_1 31 32 # windows command line 33 start.bat Router_5_1_1 34 35Run all cases 36------------- 37 38:: 39 40 # bash 41 ./start.sh 42 43 # windows command line 44 start.bat 45 46This will record the results in result.json, so that you can continue running cases once broken. You can also get help information with argument -h or --help. 47 48List devices 49------------ 50 51:: 52 53 # bash 54 ./start.sh -l 55 56 # windows command line 57 start.bat -l 58 59Check single device 60------------------- 61 62:: 63 64 # bash 65 ./start.sh -l COM28 66 67 # windows command line 68 start.bat -l COM28 69 70Get Help 71--------- 72 73:: 74 75 # bash 76 ./start.sh -h 77 78 # windows command line 79 start.bat -h 80