Skip to content

rafamuvi/jetpack_compose_testing

Repository files navigation

Testing Jetpack Compose


  • Simple example of testing in Jetpack Compose;

  • The app has two screens:

    1. The first one has a text describing which screen is,
      an input that expect some text and a button which enables
      when you input text in the field above;

    first app screenshot first app screenshot
    1. The second screen has two texts
      the first text describes which screen is
      the second text returns the first screen's input
      and a button to go back to First Screen;

    first app screenshot

    Run tests


    • Go to androidTest/screen directory, open the HomeScreenTest.kt Class and click to run it.


    Contact


    • Conect or follow me on LinkeIn for more.
    • Please leave comments, thoughts and ask questions about.


    How to find elements on Native Testing Jetpack Compose apps


About

This is a sample of native Jetpack Compose testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages