I wanted to enable Test Butler with Detox on Android. This requires modification of some of the same files/lines as @config-plugins/detox so I was not able to develop the change as a separate package.
How
Added new option to @config-plugins/detox: includeTestButler
Setting this option to true will include the test library in app/build.gradle and make the necessary modifications to the test runner to engage Test Butler.
Test Plan
I have tested this locally by building and using it within my own app. Testing requires utilizing this change with includeTestButler set to true and downloading the Test Butler APK:
Why
I wanted to enable Test Butler with Detox on Android. This requires modification of some of the same files/lines as
@config-plugins/detox
so I was not able to develop the change as a separate package.How
Added new option to @config-plugins/detox:
includeTestButler
Setting this option to
true
will include the test library inapp/build.gradle
and make the necessary modifications to the test runner to engage Test Butler.Test Plan
I have tested this locally by building and using it within my own app. Testing requires utilizing this change with
includeTestButler
set totrue
and downloading the Test Butler APK:and installing it with Detox.