Android Testing: Unit Tests, Hilt, ViewModels and more! (Udemy.com)
Learn Android Testing with Kotlin: Unit tests, Hilt testing, ViewModel, Fragment, Room, Repos, Test Doubles included!
Created by: Codestars
Last updated December 2025
What you will learn
- Android Testing
- Unit Tests
- Integration & UI Tests
- Testing with Hilt
- ViewModel Testing
- LiveData Testing
- Fragment Testing
Course Description
Welcome to the Android Testing Course!
If you are an Android Developer who is looking for to learn about testing your mobile applications, you came to the right place!
This course is for Android Developers who at least have intermediate knowledge for Kotlin and Android Development. We will learn about testing and create an application from scratch with using Jet Pack components to test it as well. All course will be completely hands-on experience.
Course is presented by Atil Samancioglu who serves more than 250.000 students worldwide on Mobile Application Development & Cyber Security. Atil also teaches Android Development in Bogazici University. Course is made with cooperation of Codestars, serving more than 1.5 million students worldwide!
Some of the topics that we are going to cover during the course:
Unit Tests
Integration & UI Tests
Testing with Hilt
Testing Fragments
Testing ViewModels
Testing LiveData
Test Doubles
Mockito & Espresso
JUnit
Testing Room
TDD Principles
Testing Navigation
If you are on your way to become a professional Android Developer, this course has everything you need, especially in the testing side of things. We will create an application called Art Book from scratch and test it together to practice everything that you need to know about testing Android applications.
All codes will be shared by us via GitHub and you can ask any question via Q&A to reach the instructor.
This course is eligible for the Codestars Certificate Authority (CCA) certificate. Students can take the official exam via codestarscom, and those who pass the quiz will receive their CCA certificate. (more details in the course!)
Happy coding!
Instructor Details
- 4.3 Rating
787 Reviews
Codestars
Codestars is a community of instructors behind 100+ courses and over 3 million students worldwide. We were one of the first coding communities to build here, and we've kept building — across web development, mobile, cyber security, and now AI-powered development and automation.
We want to revolutionize the way people learn to code by making it simple, logical, fun and, above all, accessible. Our courses are built to teach real, applicable skills, taught by instructors who know the subject and know how to teach it.
Together, the instructors that make up the Codestars team create courses on all the topics that students want to learn in the way that students want to learn them: courses that are well-structured, super interactive, and easy to understand.
Whatever you're here to learn — from the fundamentals of programming to the latest in AI-powered development — you're learning from a channel that has already done this at scale, with millions of students, and a track record to show for it.
More courses by Codestars
The Complete Copywriting Course : Write to Sell Like a Pro (2026)
4.5 (26,148 Reviews)
Provider: Udemy
Time: 3h
$159.99
The Complete Python Course | Learn Python by Doing in 2026
4.3 (23,074 Reviews)
Provider: Udemy
Time: 35.3h
$129.99
The Complete Machine Learning Course with Python (2026)
4.4 (8,259 Reviews)
Provider: Udemy
Time: 17.4h
$109.99
The Complete React Js & Redux Course - Build Modern Web Apps (2025)
4.6 (6,952 Reviews)
Provider: Udemy
Time: 8.6h
$89.99
The Complete Sketch 5 Course - Design Apps & Websites 2021 (2025)
4.5 (4,128 Reviews)
Provider: Udemy
Time: 15.3h
$84.99
More Software Testing courses
ZeroToHero TestNG Framework - From Basics to Advanced (2026)
4.9 (828 Reviews)
Provider: Udemy
Time: 6.2h
$59.99
Selenium WebDriver with Java- Basics to Advanced + Framework (2026)
4.9 (620 Reviews)
Provider: Udemy
Time: 35.5h
$84.99
Quick Introduction to Postman and API Testing for Beginners (2025)
4.7 (23,094 Reviews)
Provider: Udemy
Time: 3.2h
$94.99
Software Testing Masterclass (2026) - From Novice to Expert
4.7 (12,622 Reviews)
Provider: Udemy
Time: 9.9h
$149.99
Testing Java: JUnit 5, Mockito, Testcontainers, REST Assured (2026)
4.7 (2,514 Reviews)
Provider: Udemy
Time: 10.7h
$84.99
Webservices API Testing with Rest Assured API & POSTMAN 2025 (2026)
4.7 (2,416 Reviews)
Provider: Udemy
Time: 37.4h
$79.99
Reviews
By Rupkuvarba Barad on 8/1/2024
Good match for me. Now a days Android testing is crucial for projects. Most of the clients/company Add it in project. This is good course, With practise, within 15 hours can learn the way of testing and get confidence by this course.
By Amarjit on 4/29/2024
Good and informative course. Concise, clear and up to date knowledge of the speaker. Cleared concepts of hilt, binding and testing. Although being an experienced developer learned many new things in this course.
By Eduardo Chavez on 11/2/2023
Great content! Instructor managed to find correct balance between creating a full modern app while still focusing in Testing. Hopefully course continues to be updated with latest or upcoming Jetpack components
By Aman Singh Rawat on 11/1/2023
loving the course simple, good pace & effective as the Mentor has given public Repo link also with all dependencies updated wrt 2023.
By Dnyaneshwar Chaudhari on 8/16/2023
Good explained android testing, covered all important topics and new methodologies with example. Really great course for android developers.
By Shubham Gupta on 10/3/2022
The course is great, understable and on a great pace to learn effectively. But please update the course also, as I was following this course some thing got deprecated in new HILT. So please update the course when deprecation comes. Thanks
By Aditi Godse on 8/9/2022
Course is very helpful. Easy to understand the complex concepts. Instructor has covered the important concepts of android new features and testing both.
By Talha Naeem on 8/3/2021
course content should be explain more in detail like Hilt explanation, viewModel explanation etc. Also its a testing related course so first we need to learn how to write test cases and what is unit test etc and after that we can learn these above things that are available in section 1 and section 2.
By Maksym on 7/15/2021
Actually the course was good, some materials were very useful. However, some libraries need to be updated. Then i think it would be a good idea to add tests for swipe to delete functionality for recycler view. And also add test if there is an empty field in ArtDetailFragment, then it should display message that you must fill all fields.
By Matthew Levene on 3/18/2021
The course was very well laid out, starting with a small introductory section on testing and two sizeable sections of development and testing. It would have been nice to see other types of jetpack navigation component testing e.g. Bottom Navigation, Navigation Drawer etc using Espresso.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 86 / 100












