Package com.uber.okbuck.extension
Class TestExtension
- java.lang.Object
-
- com.uber.okbuck.extension.TestExtension
-
public class TestExtension extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description booleanenableIntegrationTestsEnable creation of integrationTest rules for modules with `integrationTest` folderbooleanespressoEnable generation of espresso test rules.booleanespressoForLibrariesEnable generation of espresso test rules on android libraries.booleanrobolectricEnable generation of robolectric test rules.java.util.Set<java.lang.String>robolectricApisChoose only a specific subset of robolectric API levels to download.java.lang.StringrobolectricPreinstrumentedVersionSpecify the preinstrumented version of artifacts to be used.
-
Constructor Summary
Constructors Constructor Description TestExtension()
-
-
-
Field Detail
-
robolectric
public boolean robolectric
Enable generation of robolectric test rules.
-
robolectricApis
@Nullable public java.util.Set<java.lang.String> robolectricApis
Choose only a specific subset of robolectric API levels to download. Default is all api levels
-
robolectricPreinstrumentedVersion
public java.lang.String robolectricPreinstrumentedVersion
Specify the preinstrumented version of artifacts to be used. Hardcoded in Robolectric https://github.com/robolectric/robolectric/blob/master/robolectric/src/main/java/org/robolectric/plugins/DefaultSdkProvider.java#L50
-
espresso
public boolean espresso
Enable generation of espresso test rules.
-
espressoForLibraries
public boolean espressoForLibraries
Enable generation of espresso test rules on android libraries.
-
enableIntegrationTests
public boolean enableIntegrationTests
Enable creation of integrationTest rules for modules with `integrationTest` folder
-
-