Hey there!

Is there a way to provide a test class only for one build variant? Putting 
tests in androidTest/ works fine, so does putting them in 
androidTestFlavor1/ and the official docs 
<http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Basics-and-Configuration>
 
say:

Currently only one *Build Type* is tested. By default it is the *debug* *Build 
> Type*, but this can be reconfigured with:
> android {
>     ...
>     testBuildType "staging"
> }


which is fine for the moment, because this class is a mock class that only 
exists in src/flavor1Debug/ but I want to prevent it from executing when 
testing the release build type. Any way to achieve this?



Cheers,
Anton

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to