Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28467

What is the gradlew task assembleAndroidTest and what are the Test applications in Android?

$
0
0

I've been coding in React-Native for a while and when I need to I write some native Android code as well. However, I had not seen this gradle task until I started using a library which used this particular gradle task.

That library is an end-to-end testing library (detox), and it uses this command "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd .." to build the android .apk that will be used in the automated e2e test. Actually it builds two apks, the debug one and the AndroidTest one, but I don't know where the latter comes from or where it's configured or where the docs are about this.

I searched for an hour and did not find anything other than this very short description: assembleAndroidTest - Assembles all the Test applications.

What are the Test applications?

Also, what is -DtestBuildType=debug?


Viewing all articles
Browse latest Browse all 28467

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>