1 Star 0 Fork 0

晨旭 / LuaTaskTest

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

LuaTaskTest

介绍

合宙LuaTask 自动化测试工具

软件架构

  • Lua V5.1
  • LuaTask V2.4.1

功能模块

  • consoleTest
  • aliyunTest
  • httpTest
  • socketTest
  • iotplatformTest
  • rtmpTest
  • mqttTest
  • ftpTest
  • updateTest
  • modbusTest
  • baseTest
  • audioTest
  • gpioTest
  • fsTest
  • keyPadCallSmsTest
  • dispTest
  • lbsLocTest
  • uartTransferTest
  • RS485Test
  • cryptoTest
  • i2cAndSpiTest
  • bluetoothTest

使用说明

  • 测试单元的开关控制查看src/main.lua
-- 测试配置 设置为true代表开启此项测试
LuaTaskTestConfig = {
    modType     = "8910",
    netLed      = false,
    consoleTest = false,
    aliyunTest = {
        aliyunMqttTest = false,
        aliyunOtaTest  = false
    },
    httpTest = {
        getTest                        = false,
        getWaitTest                    = false,
        get301Test                     = false,
        get302Test                     = false,
        getTestWithCA                  = false,
        getTestWithCAAndKey            = false,
        getTestAndSaveToBigFile        = false,
        getTestAndSaveToSmallFile      = false,
        postTest                       = false,
        postJsonTest                   = false,
        postTestWithUserHead           = false,
        postTestWithOctetStream        = false,
        postTestWithMultipartFormData  = false,
        postTestWithXwwwformurlencoded = false,
        headTest                       = false,
        putTest                        = false,
        deleteTest                     = false
    },
    socketTest = {
        syncTcpTest     = false,
        syncUdpTest     = false,
        asyncTest       = false,
        webSocketTest   = false,
    },
    iotplatformTest = {
        ctwingTest  = false, 
        txiotTest   = false,
        onenetTest  = false,
    },
    rtmpTest        = false,
    mqttTest        = false,
    ftpTest         = false,
    updateTest      = false,
    modbusTest      = false,
    baseTest = {
        -- netTest,sysTest 要单独测试
        netTest         = false,
        sysTest         = false,
        adcTest         = false,
        bitTest         = false,
        packTest        = false,
        stringTest      = false,
        commonTest      = false,
        miscTest        = false,
        ntpTest         = false,
        nvmTest         = false,
        tableTest       = false,
        pmTest          = false,
        powerKeyTest    = false,
        rilTest         = false,
        simTest         = false,
        jsonTest        = false,
        rtosTest        = false,
        mathTest        = false,
        zipTest         = false,
        protoBufferTest = false,
        pbTest          = false
    },
    audioTest = {
        audioPlayTest   = false,
        audioStreamTest = false,
        recordTest      = false,
        audioParamTest  = false,
    },
    usbAudioTest   = false,
    gpioTest = {
        gpioIntTest = false,
        gpioInTest  = false,
        gpioOutTest = false,
        ledTest     = false,
        pwmTest     = false,
    },
    fsTest = {
        sdCardTest      = false,
	    insideFlashTest = false,
        openDirTest     = false
    },
    keyPadCallSmsTest = {
        keypadTest = false,
        callTest   = false,
        smsTest    = false
    },
    dispTest = {    
        logoTest            = false,
        scanTest            = false,
        photoTest           = false,
        photoSendTest       = false,
        qrcodeTest          = false,
        uiWinTest           = false,
        lvglTestV6          = false,
        lvglTestV7_icool    = false,
        lvglTestV7_little   = false
    },
    lbsLocTest = {
        cellLocTest = false,
        wifiLocTest = false,
        gpsLocTest  = false
    },
    uartTransferTest = false,
    RS485Test        = false,
    cryptoTest       = false,
    i2cAndSpiTest = {
        I2CTest_AHT10 = false,
        I2CTest_24C02 = false,
        SPITest       = false
    },
    bluetoothTest = {
        masterTest = false,
        slaveTest  = false,
        beaconTest = false,
        scanTest   = false,
        btTest     = false
    }
}
  • 参考合宙官方教程烧录脚本进行测试
MIT License Copyright (c) 2020 yanjunjie Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

合宙LuaTask 自动化测试工具 展开 收起
Lua
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Lua
1
https://gitee.com/chenxuuu/LuaTaskTest.git
git@gitee.com:chenxuuu/LuaTaskTest.git
chenxuuu
LuaTaskTest
LuaTaskTest
master

搜索帮助