Test.json 1.1 KB
Newer Older
Z
zhaoyuan17 已提交
1 2 3 4
{
    "description": "Configuration for hjunit demo Tests",
    "driver": {
        "type": "JSUnitTest",
Z
zhaoyuan17 已提交
5
        "test-timeout": "60000",
Z
zhaoyuan17 已提交
6
        "package": "com.example.actsbmsjstest",
J
jiyong 已提交
7
        "shell-timeout": "60000"
Z
zhaoyuan17 已提交
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
    },
    "kits": [
        {
            "test-file-name": [
                "ActsBmsJsTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        },
        {
            "type": "ShellKit",
            "run-command": [
                "remount",
                "mkdir /data/test"
            ]
        },
        {
            "type": "PushKit",
            "push": [
                "bmsThirdBundleTest2.hap->/data/test/bmsThirdBundleTest2.hap",
                "bmsThirdBundleTest5.hap->/data/test/bmsThirdBundleTest5.hap",
Z
zhaoyuan17 已提交
29 30
                "bmsThirdBundleJs.hap->/data/test/bmsThirdBundleJs.hap",
                "bmsThirdBundleC.hap->/data/test/bmsThirdBundleC.hap"
Z
zhaoyuan17 已提交
31 32 33 34 35 36 37 38 39 40
            ]
        },
        {
            "type": "ShellKit",
            "run-command": [
                "chmod 644 /data/test/*.hap"
            ]
        }
    ]
}