# LargeTest

Added in[API level 2](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# LargeTest

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/test/suitebuilder/annotation/LargeTest "View this page in Java")  

```
@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CLASS, AnnotationTarget.FILE]) class LargeTest
```

|--------------------------------------------------------------------------------------------------------------------------------------------------|
| [android.test.suitebuilder.annotation.LargeTest](https://developer.android.com/reference/kotlin/android/test/suitebuilder/annotation/LargeTest#) |

*** ** * ** ***

| **This annotation was deprecated in API level 24.**
|
| Use[LargeTest](https://developer.android.com/reference/android/support/test/filters/LargeTest.html)instead. New tests should be written using the[Android Testing Support Library](https://developer.android.com/tools/testing-support-library/index.html).

Marks a test that should run as part of the large tests.

## Summary

|                                                                                  Public constructors                                                                                   ||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [LargeTest](https://developer.android.com/reference/kotlin/android/test/suitebuilder/annotation/LargeTest#LargeTest())`()` Marks a test that should run as part of the large tests. |

## Public constructors

### LargeTest

Added in[API level 2](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
LargeTest()
```

**Deprecated:** *Use[LargeTest](https://developer.android.com/reference/android/support/test/filters/LargeTest.html)instead. New tests should be written using the[Android Testing Support Library](https://developer.android.com/tools/testing-support-library/index.html).*

Marks a test that should run as part of the large tests.