2021-12-30
Test execution
- Fixed test coverage not working on
version=29emulators - Fixed long-running tests (1+ hr) getting stuck completely
version=29 emulatorsAdded two new device models: Tablet10, Tablet10Atd representing
10" tablets with landscape orientation and a resolution of 1920x1200.
Complete list of new combinations added:
device=Tablet10,version=23device=Tablet10,version=27device=Tablet10,version=29device=Tablet10,version=30device=Tablet10,version=31device=Tablet10Atd,version=30--test-targets for fine-grained control over what tests to runew-cli now validates app and test apk files before starting the testew-cli binary files are now signed with GPG--models command to ew-cli list all available emulator modelsatd=true flag, use the *Atd suffix instead, e.g. change from model=Pixel2,atd=true to
model=Pixel2Atd.Note: ATD models are still only available for version=30 emulators
--json output flag to ew-cli to get machine-readable outputew-cli failed to start on JDK8emulator.wtf now supports version=31 device configurations.
Complete list of new combinations added:
device=Pixel2,version=31device=NexusLowRes,version=31emulator.wtf now supports version=29 device configurations.
Complete list of new combinations added:
device=Pixel2,version=29device=NexusLowRes,version=29There’s now a Gradle plugin that wraps ew-cli. Read more here.
ew-cli now exits with a non-zero exitcode when started with unknown input arguments. Thanks to @ubiratansoares for reporting the issue.Fixed two issues with the emulator-wtf/run-tests@v0 GitHub action:
v0.0.3 always crashed due to a misplaced lineclear-package-data value was not sent to ew-cli correctly, silently skipping all testsThanks to @ubiratansoares for noticing and sending in PRs for these issues!
--num-shards command line flag for sharding. It acts similar to
--num-uniform-shards but instead of assigning shards randomly it spreads
the tests evenly between shards by test count so that every shard has roughly
the same number of tests.emulator.wtf now supports version=30 device configurations and the new ATD
(Automated Test Device) images.
These images are specifically optimized for running automated tests by
disabling some system apps and background services.
Read more about ATD images
here.
Complete list of new combinations added:
device=Pixel2,version=30,atd=truedevice=Pixel2,version=30device=NexusLowRes,version=30,atd=truedevice=NexusLowRes,version=30