Test.json 1.1 KB
Newer Older
X
update  
xuchenghua09 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42

{
    "description": "Configuration for hjunit demo Tests",
    "driver": {
        "type": "JSUnitTest",
        "test-timeout": "120000",
        "package": "com.example.actsextensionconnectabilitytest",
        "shell-timeout": "60000"
    },
    "kits": [
        {
            "type": "ShellKit",
            "run-command": [
                "acm create -n 101 -t normal",
                "acm switch -i 101"
            ],
            "teardown-command":[
                "acm delete -i 101"
            ]
        },
        {
            "test-file-name": [
                "ActsExtensionConnectAbilityTest.hap",
                "actsServiceAbilityRelyHap.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        },
        {
            "type": "PushKit",
            "push": [
                "actsServiceAbilityRelyHap.hap->/data/app/actsServiceAbilityRelyHap.hap"]
        },
        {
            "type": "ShellKit",
            "run-command": [
                "chmod 777 /data/app/*.hap"
            ]
        }
    ]
}