Tags
Language
Tags
December 2024
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4

Comprehensive Android Testing Guide With Jetpack Compose

Posted By: ELK1nG
Comprehensive Android Testing Guide With Jetpack Compose

Comprehensive Android Testing Guide With Jetpack Compose
Published 10/2024
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 2.72 GB | Duration: 4h 57m

Master Android Testing with Jetpack Compose, Robolectric, and Dagger Hilt. Learn unit, integration, and UI testing

What you'll learn

Master Android Testing Fundamentals: Understand the key concepts of unit, UI, and integration testing in Android.

Test Jetpack Compose UI: Learn how to write and execute UI tests for Jetpack Compose applications.

mplement Dependency Injection Testing: Use Dagger Hilt to set up and test dependency injection seamlessly.

Complete a case study Project and become confident on how to test android application

uild Confidence in App Reliability: Develop and apply testing strategies to deliver robust, bug-free Android apps.

Utilize Robolectric for Local Tests: Conduct effective local unit tests using the Robolectric framework.

Requirements

Basic Android Development Knowledge

Basic understanding of building UIs with Jetpack Compose.

Knowledge of Retrofit and Room Database

Willingness to Learn Testing Concepts

Description

Are you new to Android testing and looking to build a strong foundation? Join my comprehensive course designed specifically for beginners. As an experienced Android developer, I'll guide you through the essential concepts and tools needed to write effective tests for your Android applications.I have had the privilege of teaching thousands of students through platforms like YouTube and Udemy. In this course, you will embark on a comprehensive journey, starting from the fundamentals of Android testing, including Room databases, Retrofit, Jetpack Compose, and Dagger Hilt, with a focus on both local and instrumented testing.You'll gain hands-on experience with testing frameworks like JUnit, Robolectric and Compose Testing throughout the course. You'll learn the principles of writing tests and how to implement them in real-world projects, helping you build robust applications that stand out in the job market.Why choose this course?Beginner-friendly: This course is tailored to those with little to no experience in Android testing.Practical focus: Learn through real-world examples and exercises to reinforce your understanding.Up-to-date content: Stay current with the latest Android testing techniques and tools, including Jetpack Compose.Clear explanations: I'll break down complex concepts into easy-to-understand terms.By the end of this course, you'll have a solid understanding of Android testing principles and be able to write effective tests for your projects.

Overview

Section 1: Introduction

Lecture 1 Introduction

Lecture 2 Course Objectives

Lecture 3 Course Requirements

Lecture 4 Is this course for you?

Section 2: Introduction to Testing in Android

Lecture 5 What is Testing

Lecture 6 Importance of Testing Software

Lecture 7 Why developers don't test

Lecture 8 Software Testing Levels

Lecture 9 Instrumented vs Local Tests

Lecture 10 Flacky Tests

Lecture 11 Key Attributes of Testing

Lecture 12 Test Driven Development(TDD)

Lecture 13 Case study:What Could Go Wrong

Lecture 14 App Architecture in Testing

Section 3: Testing Basics with Tip calculator

Lecture 15 Learning objectives

Lecture 16 Where to get Starter code

Lecture 17 Project waltkthrough

Lecture 18 Android project source sets

Lecture 19 Testing Dependencies Explanation

Lecture 20 Setting repository for testing

Lecture 21 First Unit test

Lecture 22 Solution for test case 2 in assignment 1

Lecture 23 Testing calculation edge case

Lecture 24 Solution for test case 2 in assignment 2

Lecture 25 Running all repository tests

Lecture 26 Viewmodel testing basics

Lecture 27 First viewmodel test

Lecture 28 Testing viewmodel get tip function

Lecture 29 Testing resetting state in viewmodel

Lecture 30 Solution for test case 2 in assignment 3

Lecture 31 Solution for test case 3 in assignment 3

Lecture 32 Testing error state when correct argument supplied

Lecture 33 Key takeaway

Lecture 34 Introduction to Ui testing with Jetpack compose

Lecture 35 Setting our first UI test

Lecture 36 Compose Junit rule

Lecture 37 Accessing composables in test

Lecture 38 Setting test tags in composables

Lecture 39 Testing homescreen composable

Lecture 40 Key takeaway

Section 4: Case study Newsy App Testing

Lecture 41 What is Newsy App

Lecture 42 App Architecture overview

Lecture 43 Project walkthough

Lecture 44 Article Mapping Unit Test

Lecture 45 Article Mapping Exception Test

Lecture 46 Headline Mapper test

Lecture 47 Intro Testing Room db

Lecture 48 What is Robolectric

Lecture 49 Setting Dao Tests with Robolectric

Lecture 50 Coroutines In testing

Lecture 51 Paging Source Test Util

Lecture 52 First Dao Test

Lecture 53 Testing Deleting All in db

Lecture 54 Testing Delete of Favourite Articles

Lecture 55 Intro Testing Network layer

Lecture 56 What to test

Lecture 57 What is a Test Double?

Lecture 58 Setting Dependency for MockWebServer

Lecture 59 Setting HeadlineApi Test

Lecture 60 Setting Json Response Mock Data

Lecture 61 Mock Response File Reader

Lecture 62 Testing Network Api with Retrofit

Lecture 63 RemoteMediator Test Intro

Lecture 64 Setting Remote Mediator Test with Local and Network Data Source

Lecture 65 Testing Cache in RemoteMediator

Lecture 66 Testing data Laoding in RemoteMediator

Lecture 67 Making Repository Testable

Lecture 68 Understanding Mockito

Lecture 69 Setting Mockito in Repository Test

Lecture 70 First Test for Repository with Mockito

Lecture 71 Testing Parameter assignment in Repository

Lecture 72 Setting Usecase Test

Lecture 73 Testing Usecase with Fake repository

Lecture 74 Setting Viewmodel test

Lecture 75 Fake Repository Setup in Viewmodel Test

Lecture 76 Testing Viewmodel

Lecture 77 Intro to Instrumented Test

Lecture 78 Why use Dagger Hilt in Testing

Lecture 79 Setting Dagger Hilt in Test

Lecture 80 Setting HiltTestRunner

Lecture 81 Dagger Hilt Module for Testing

Lecture 82 Removing Production Modules in Test

Lecture 83 UninstallModule in a single Test

Lecture 84 Setting Json Data in Andorid Test

Lecture 85 Setting Mockwebserver

Lecture 86 SetActivityContent Jetpack Compose

Lecture 87 Testing Headline Screen

Lecture 88 Setting Network Configuration

Lecture 89 Instant Task Executor in Testing Android Architecture Components

Lecture 90 Unit Testing Home Screen UI

Lecture 91 Testing HeadlineScreen State Append Data

Lecture 92 Error Handling UI Test

Lecture 93 Running All instrumented test

Lecture 94 Setting NewsyApp Tests

Lecture 95 App launch Test

Lecture 96 Navigation Drawer Test

Lecture 97 UI test Running Local?

Lecture 98 Running All Unit Test

Beginner Android Developers who want to learn how to implement testing in their apps and enhance their coding skills.,ntermediate Android Developers looking to deepen their understanding of Jetpack Compose, Dagger Hilt, and testing frameworks like Robolectric.,Developers transitioning to modern Android practices who need to grasp testing in Compose UI and advanced tools like MockWebServer and Room,Software Engineers seeking to build robust and reliable applications through professional-level testing.,Anyone aiming to meet industry demand for testing skills in Android development and improve app stability and performance.