![]() Android Kotlin Fundamentals training codelabs.If you're familiar with any of the below examples, this app has a similar architecture: It uses ViewModels with Fragments, a repository, and Room. The app follows the architecture from a Guide to app architecture. The TO-DO app is based off of the Architecture Blueprints testing and architecture sample. Got back to the overview screen, and from the navigation drawer menu, select Clear completed to delete all tasks with the Completed status.Open the navigation drawer and click Statistics.Go back to the tasks screen, open the filter menu, and filter the tasks by Active and Completed status.In the list or on the detail screen, check the checkbox of that task to set its status to Completed.In the list of tasks, click on the title of the task you just completed and look at the detail screen for that task to see the rest of the description.Enter a title first, then enter additional information about the task. Create a new task with the plus floating action button.Once you've downloaded the TO-DO app, open it in Android Studio and run it. All of the additional tests and test configuration setup will be covered in these codelabs so that you can apply the same testing practices to your own Android applications. This TO-DO app starter code has the same testing setup (folders, library dependencies, and sample tests) as a brand new project created with Android Studio. Take a moment to familiarize yourself with the code, following the instructions below. You can browse the code in the android-testing Github repository. Important: The starter code is on the end_codelab_1 branch of the downloaded repo! Download the CodeĪlternatively, you can clone the Github repository for the code: $ git clone By learning how to test this app, you'll be able to test apps that use the same libraries and architecture. This app is written in Kotlin, has a few screens, uses Jetpack components and follows the architecture from a Guide to app architecture. You can then mark them as completed or not, filter them, or delete them. The app allows you to write down tasks to complete and displays them in a list. In this series of codelabs, you'll be working with the TO-DO Notes app. If you finished all of the non-optional steps in the 5.1 Testing Basics codelab, you can continue using the same project and skip this step. Write navigation tests using Mockito and Espresso. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |