Stay organized with collections Save and categorize content based on your preferences.


@Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
@Target(value = [java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.TYPE])
public annotation Suppress

Use this annotation on test classes or test methods that should not be included in a test suite. If the annotation appears on the class then no tests in that class will be included. If the annotation appears only on a test method then only that method will be excluded.

Note: This class replaces the deprecated Android platform annotation android.test.suitebuilder.annotation.Suppress and is the recommended way to suppress tests written with the AndroidX Test Library.