# TestOnly

Artifact: [androidx.compose.runtime:runtime](https://developer.android.com/jetpack/androidx/releases/compose-runtime) [View Source](https://cs.android.com/search?q=file:androidx/compose/runtime/TestOnly.+class:androidx.compose.runtime.TestOnly) Common/AllAndroid/JVMNative/C/iOSJavaScript
- Cmn

  ```
  @MustBeDocumented
  @Retention(value = AnnotationRetention.BINARY)
  @Target(allowedTargets = [AnnotationTarget.FUNCTION, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER])
  annotation TestOnly
  ```

*** ** * ** ***

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/TestOnly#TestOnly()()` | Cmn |

## Public constructors

### TestOnly

Cmn

```
TestOnly()
```