Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
README.md | D | 03-May-2024 | 1.4 KiB | 40 | 31 | |
batch_check_permission.sh | D | 03-May-2024 | 3.1 KiB | 118 | 81 | |
batch_install_app.sh | D | 03-May-2024 | 3 KiB | 111 | 71 | |
get_file_dir.sh | D | 03-May-2024 | 979 | 33 | 12 | |
install_apk.sh | D | 03-May-2024 | 839 | 29 | 9 | |
test.sh | D | 03-May-2024 | 840 | 29 | 9 |
README.md
1# Validation Tools 2This is a collection of validation tools for better development & integration 3productivity for AAOS devices. 4 5## Validating new app releases 6Incoming quality control is an important practice to prevent new technical debts 7added to risk the device development. These scripts illustrate a basic check for 8a new app bundle release against a known good virtual or physical device build. 9So that, you know what changed better & if they break any basic use cases. 10 111. Prepare a new app release in a directory, a device under test reachable 12via adb & aapt is available in the shell environment. 13``` 14appDir="/path/to/appDir" 15renameCsv="/path/to/renameCsvFile" 16``` 17 18- As sometime mk file change the file name when copying XML files to the device at the build time, you can supply a CSV file to guide the script. The format is as: 19``` 20name,newName 21privapp-permissions-in-app-release.xml,privapp-permissions-on-device.xml 22``` 23 242. batch_install_app.sh: find & install all APKs in a given directory to 25a device via adb. Launch their launchable activities if any & capture 26screenshots. To use: 27 28``` 29./batch_install_app.sh ${appDir} 30``` 31 323. batch_check_permission.sh: find & diff permissions XML files in a given 33directory against those on a device via adb. To use: 34 35``` 36./batch_check_permission.sh ${appDir} ${renameCsv} 37``` 38 394. test.sh has all the commands above to make is easier to use. 40