Skip to content

Conversation

@christianbrennstuhlbmw
Copy link
Contributor

@christianbrennstuhlbmw christianbrennstuhlbmw commented Jul 18, 2025

📌 References

🥅 What is the goal?

Inside GordonTest Task, after all tests are done, task will uninstall the application package and instrumentation package. This would also remove the data stored in the app storage during the tests.

Add configuration parameter leaveApksInstalledAfterRun to keep application data after Gordon tests. Inspired by Gradle Plugin 8.2's property:

android.injected.androidTest.leaveApksInstalledAfterRun = true.

💻 How is it implemented?

Pretty simple according to the other config parameters like ignoreProblematicDevices

Inside GordonTest Task, after all tests are done, task will uninstall
the application package and instrumentation package. This would also
remove the data stored in the app storage during the tests.

Add configuration parameter leaveApksInstalledAfterRun to keep
application data after Gordon tests. Inspired by Gradle Plugin 8.2's
property:
android.injected.androidTest.leaveApksInstalledAfterRun = true.
Copy link
Collaborator

@joshschriever joshschriever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@joshschriever joshschriever merged commit a56576b into Banno:main Jul 18, 2025
1 check passed
@christianbrennstuhlbmw christianbrennstuhlbmw deleted the add-leave-apks-installed-after-run branch July 21, 2025 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants