marathon icon indicating copy to clipboard operation
marathon copied to clipboard

Set up permissions before running the test

Open lukaville opened this issue 6 years ago • 1 comments

It would be nice to have the ability to specify a set of required permissions that should be granted/revoked before test execution. Permissions can be marked using annotation in the tests.

Probably, it should be implemented as a plugin. So we need to have an entry point for plugins that accepts test annotations and have access to the device on which the test will be executed. Then the plugin can run adb commands to grant/revoke permissions.

lukaville avatar Apr 10 '19 15:04 lukaville

Fork provides this feature https://github.com/shazam/fork#runtime-permissions, It would be great to have this feature.

tagantroy avatar Apr 11 '19 02:04 tagantroy