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