ActivityTestRule<T>This rule provides functional testing of a single .
DisableOnAndroidDebugThe DisableOnAndroidDebug Rule allows you to label certain rules to be disabled when debugging.
GrantPermissionRuleThe GrantPermissionRule Rule allows granting of runtime permissions on Android M (API 23) and above.
PortForwardingRuleA TestRule to forward network traffic to a specific port.
ServiceTestRuleA JUnit rule that provides a simplified mechanism to start and shutdown your service before and after the duration of your test.
UiThreadTestRuleThis rule allows the test method annotated with UiThreadTest to execute on the application's main thread (or UI thread).