android


instrumentation/unit testing for different build variants


I'm trying to include an instrumentation test directory for each different build variants.
Currently I have 3 different build variants:
alpha {
java.srcDirs = ['src/main/java', 'src/integration-alpha/java']
res.srcDirs = ['src/alpha/res', 'src/alphaProd/res']
}
beta {
manifest.srcFile 'src/beta/AndroidManifest.xml'
java.srcDirs = ['src/beta/java', 'src/beta/java']
}
gamma {
java.srcDirs = ['src/gamma-integration/java', 'src/gamma/java']
}
How can I set my Gradle so that I will have an "androidTest" or an instrumentation test for each of these build variants.
I'm trying to avoid having ONE unit test for all of the build variants because they have some different functionality.

Related Links

setContentView trouble on android
how big is GCM resistration id
android.os.MessageQueue memory leak?
Image don't fit perfectly in layout
common String using in Activitites [closed]
greenDAO Update and Insert not unique SQLite Error
How can I move game object from one side to the other side of the screen in a set time?
How to set BitmapDescriptor to image view?
Alert dialog in child class not working in Android
Android how to change the radio button image programatically
how to publish to facebook wall, error 'session' cannot be null
Cordova EmailComposer plugin build error
Eclipse and gradle android-library projects
Image uploaded from Android photo to a Datasnap server has different image type and dimensions
Changing images using for loop
How to handle Google play services errors inside a Service

Categories

HOME
django
beautifulsoup
eclipse
azure-stream-analytics
oracle12c
checkstyle
deep-learning
ns-3
youtube-data-api-v3
serialization
tivoli
tvos
gluon-mobile
boto3
nfs
barcode
categorical-data
dkim
mel
java.util.logging
cmdb
google-form
libc
endpoint
intercom
frequency-distribution
bitnami
azure-iot-hub
powershell-v5.0
intershop
solrcloud
string-concatenation
imageresizer
event-store
epsilon
monit
direct3d11
froala
pic32
angularjs-components
8051
comparable
custom-controls
eviews
weather
glib
reverse
jwplayer6
slacktextviewcontroller
xajax
raft
watchman
cd
xdocreport
kill
tasm
install.packages
congestion-control
wc
flask-login
mesosphere
libgphoto2
yii2-api
globalize
reportservice2010
yii2-user
ngmaterial
cup
otp
django-1.10
smartfoxserver
node-request
kango-framework
php-socket
html-to-pdf
jaunt-api
libvlc
phonertc
opserver
keyup
botan
nsurlsessiondatatask
node-serialport
user-permissions
mruby
deform
jqmodal
scriptaculous
ice-cube
virtual-pc
azman
infobright
procedures
catransform3d
xcelsius
load-time
openfaces
tabpanel
web-application-project
alsb
linfu-dynamicproxy
flvplayback
java1.4
business-model
httpcookie
contentpresenter

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App