# TestContext

Artifact: [androidx.compose.ui:ui-test](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/test/TestContext.kt+class:androidx.compose.ui.test.TestContext) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Common/AllAndroid/JVM
- Cmn

  ```
  class TestContext
  ```

*** ** * ** ***

Provides storage of test related entities that must be accessible by anything other than `https://developer.android.com/reference/kotlin/androidx/compose/ui/test/ComposeUiTest` and friends, for example the `https://developer.android.com/reference/kotlin/androidx/compose/ui/test/InputDispatcher` or the implementation of some assertions and actions.