Skip to content

Support tests running on an Android Emulator that is managed via Gradle Managed Devices #79

@jaysirju

Description

@jaysirju

I'm submitting a ...

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

Allure results are written to /sdcard/googletest/test_outputfiles/allure-results or <allure.results.directory> by default when running on a device.

What is the motivation / use case for changing the behavior?

If the device is managed via Gradle Managed Devices, you cannot use 'adb pull' to get the contents of the sd-card. However, there is a little known feature that the contents of the /sdcard/Android/media/<Bundle Identifier>/additional_test_output directory is copied over to app/build/outputs/managed_device_android_test_additional_output after the tests have been executed.

Details can be found here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions