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