Android Developers
Platform Android Studio Google Play Jetpack Kotlin Docs Games
Sign in
  • Jetpack
Overview Get Started Libraries Community Compose
Android Developers
  • Platform
  • Android Studio
  • Google Play
  • Jetpack
    • Overview
    • Get Started
    • Libraries
    • Community
    • Compose
  • Kotlin
  • Docs
  • Games
  • Overview
  • Why Compose
  • Documentation
  • Tutorial
  • Foundation
  • Thinking in Compose
  • Managing state
  • Lifecycle
  • Modifiers
  • Side-effects
  • Phases
  • Architectural layering
  • Performance
  • Semantics
  • CompositionLocal
  • Development environment
  • Android Studio with Compose
  • Tooling
  • Kotlin for Compose
  • Developer ergonomics
  • Design
  • Layout
    • Overview
    • Layout basics
    • Material Components and layouts
    • Custom layouts
    • Build adaptive layouts
    • Alignment lines
    • Intrinsic measurements
    • ConstraintLayout
  • Theming
    • Overview
    • Material Theming
    • Custom theming
    • Anatomy of a theme
  • Lists and grids
  • Text
  • Graphics
  • Animation
  • Gestures
  • Handling interactions
  • Adopting Compose
  • Adopting Compose in existing apps
    • Overview
    • Adding Compose to your app
    • Interoperability APIs
    • Compose in your existing architecture
    • Compose in your existing UI
  • Compose and other libraries
  • Architecture
  • Navigation
  • Resources
  • Accessibility
  • Testing
  • Testing cheat sheet
  • List of modifiers
  • Jetpack Compose
  • Jetpack
  • Compose

Testing cheatsheet

The Compose testing cheat sheet is a quick reference of some of the most useful Compose test APIs. The cheat sheet is also downloadable in PDF format.

Useful Compose testing APIs

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2022-05-12 UTC.

  • Twitter Twitter
    Follow @AndroidDev on Twitter
  • YouTube YouTube
    Check out Android Developers on YouTube
  • LinkedIn LinkedIn
    Connect with the Android Developers community on LinkedIn
  • More Android

    • Android
    • Android for Enterprise
    • Security
    • Source
    • News
    • Blog
    • Podcasts
  • Discover

    • Gaming
    • Machine Learning
    • Privacy
    • 5G
  • Android Devices

    • Large screens
    • Wear OS
    • Android TV
    • Android for cars
    • Android Things
    • Chrome OS devices
  • Releases

    • Android 11
    • Android 10
    • Pie
    • Oreo
    • Nougat
    • Marshmallow
    • Lollipop
    • KitKat
  • Documentation and Downloads

    • Android Studio guide
    • Developers guides
    • API reference
    • Download Studio
    • Android NDK
  • Support

    • Report platform bug
    • Report documentation bug
    • Google Play support
    • Join research studies
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Privacy
  • License
  • Brand guidelines
  • Get news and tips by email Subscribe