Тёмный

Android Unit Test Tutorial - Writing Your First Unit Test 

Simplified Coding
Подписаться 118 тыс.
Просмотров 70 тыс.
50% 1

Welcome to Android Unit Test Tutorial. In the last video we discussed about Testing and it's types in Android Development. From this video we will actually start implementing the things.
In this Android Unit Test Tutorial, we will start our Android Studio Project and we will see how we can write and execute a very simple unit test in Android Studio.
Here we are going to use JUnit4. And in this video we will understand, how to write Unit Test and how to Execute them.
0:00 Introduction
0:55 Project Structure
2:43 Writing Your First Unit Test
6:36 Understanding Test Dependencies
7:38 Writing Your First Assertion
8:26 Running Unit Test
9:55 Writing More Test Cases
If you are having trouble navigating between different lessons of this Android Test Driven Development Course then you can directly watch the following playlist.
👉 bit.ly/2PPdUIV
Here you will find all the videos of this course in chronological order.
If you want the source code of this project, then get it from here
👉 www.simplifiedcoding.net/andr...
If you want to get in touch with me; you can find my contact details here:
👉 www.simplifiedcoding.net/about/
Finally, If you love my content please SHARE my courses to your friends. You can share this course to your Facebook, WhatsApp etc.
For more contents related to Software Development visit my website.
👉 www.simplifiedcoding.net
You can SUPPORT me if you want
👉 Patreon: / belalkhan
👉 UPI (India Only): probelalkhan@okaxis
👉 PayTM (India Only): +917549161079
👉 PayPal: www.paypal.me/probelalkhan
You can also check some of my other courses from these links
👉 Android MVVM Tutorial: bit.ly/3iLfVzu
👉 Android Game Development Tutorial: bit.ly/38JmltC
👉 Retrofit Android Tutorial: bit.ly/2DEwAl1
👉 Android RecyclerView Tutorial: bit.ly/2TqVjPz
👉 Android Room Tutorial: bit.ly/2PfQHeN
👉 Firebase Auth Tutorial: bit.ly/2WUGhEo
👉 Android Notification Tutorial: bit.ly/2Sc6jQl
👉 Building a Complete Wallpaper App: bit.ly/30UN8zV
👉 Build Tic Tac Toe in Android: bit.ly/30goxW0
❤️❤️ Thank You All for the Love and Support ❤️❤️
#AndroidTDD
#TestDrivenDevelopment
#AndroidDevelopment

Наука

Опубликовано:

 

23 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 56   
@nutankumari9977
@nutankumari9977 3 года назад
Helpful.You explained so easily ..specially in the build Gradle part .I wasn't aware of difference of test and Android test implementation..thank you covering minute things too...🙌I would recommend beginners to go through this.
@vengateshm2122
@vengateshm2122 3 года назад
Videos on TDD is not usually content creators does. You have started it. Great keep going. Kluent - Fluent assertion library for kotlin
@masummodi
@masummodi 3 года назад
Thank you so much for teaching this professional topic .
@goytayibarek
@goytayibarek 3 года назад
java based test is never easy...thank you for making it easy to understand here.
@akre8590
@akre8590 3 года назад
Very good explanation man, like so much your videos, congrats!
@AmitSharmaplus
@AmitSharmaplus 3 года назад
Thank you for this video and up coming series.. excited to learn tdd approach.
@mkc0321
@mkc0321 3 года назад
very good video...please keep this series going..this is most important topic which most experienced developers are also not aware of
@quemaspana
@quemaspana 4 месяца назад
Thank you for making this! It is very clear and easy to follow.
@jamestauzin7062
@jamestauzin7062 2 года назад
Fantastic. Thank you so much for this video!
@nilevia
@nilevia 3 года назад
can't wait the next video, cz tdd is the most requirement nowday as an android developer at my country
@phillvaloyi3803
@phillvaloyi3803 2 года назад
Great video, made it simple and easy to understand
@akashagrawal8397
@akashagrawal8397 3 года назад
Awesome. Please make more videos asap.. I learnt a lot from your videos.. great helpful
@anthonycampbell97
@anthonycampbell97 2 года назад
Really enjoyed this video, thanks!
@marcosnarvaez7154
@marcosnarvaez7154 2 года назад
Great video, thanks!
@sunildewangan7355
@sunildewangan7355 3 года назад
very nice explanation. waiting for the upcoming videos.
@anitakrizzan7128
@anitakrizzan7128 2 года назад
Thank you for the great explanation
@syedzakriya2008
@syedzakriya2008 3 года назад
Wow.. Ur one of the first one to do it...
@imrahulmaurya
@imrahulmaurya 3 года назад
most awaited video.
@josechocobar9334
@josechocobar9334 2 года назад
Hi, thank you, can you make a mock tutorial for android? I'm having some problems with mockito and maybe some other programmers have too.
@-untilwearrive4701
@-untilwearrive4701 Год назад
thank you so much
@LelouchRodriguez
@LelouchRodriguez 3 года назад
Great content as always. Keep it up sir
@maskmanlifestyle
@maskmanlifestyle Месяц назад
Thanks a lot Brother ❣
@nirmalrevar
@nirmalrevar 3 года назад
Nicely explained.
@nagendrashet9199
@nagendrashet9199 3 года назад
Thank You for All the android tutorial. its my request to upload video regarding "how to use Dagger and Hilt in android ?" that would help everyone who are learning android development through your channel .
@strikerrr1106
@strikerrr1106 2 года назад
awesome bro love from Pak
@jayantkumar1954
@jayantkumar1954 3 года назад
Awesome sir 🖖🖖
@mohammadn1901
@mohammadn1901 3 года назад
Please complete testing course, such as Unit test, UI test , MockData test and more ....
@wqqqw2279
@wqqqw2279 2 года назад
on android test,if it can launcher other app by package just on AndroidJUnit4?
@MuhammadNaveed2016
@MuhammadNaveed2016 3 года назад
First tine trying to learn testing. Great experience
@SimplifiedCoding
@SimplifiedCoding 3 года назад
Glad to hear that. Great
@vinaygupta9449
@vinaygupta9449 3 года назад
Please make series on Flutter also. It's very helpfull..
@funnymoment9164
@funnymoment9164 3 года назад
Thanks
@AMALSHIWANTHA
@AMALSHIWANTHA 2 года назад
Good post video
@ravi_sorathiya
@ravi_sorathiya 3 года назад
Please one series on hilt after this one Heard that hilt makes testing easier
@azengakevin9599
@azengakevin9599 3 года назад
Awesome, can you use Junit Jupiter instead of Junit 4, just wondering, can't wait for next
@kentunksatan
@kentunksatan 2 года назад
afaik, when creating test using tdd, you should not implement the logic directly, but write something that enough for the test passed , then let the errors guide you... after all, thank you for the tutorial Sir..
@prajaapps6508
@prajaapps6508 3 года назад
Very nice 👍
@SimplifiedCoding
@SimplifiedCoding 3 года назад
Thanks
@vipinkumarbdts
@vipinkumarbdts 3 года назад
Sir Please make a tutorial on Kotlin Regular Expression, Reflection and Annotation
@rajkumarmaurya5973
@rajkumarmaurya5973 2 года назад
Hi sir, I am not able to download source code. I think login issue in your website.
@akshayjeurkar8267
@akshayjeurkar8267 3 года назад
Awesome Please write unit test using Mockk
@SimplifiedCoding
@SimplifiedCoding 3 года назад
Yeah, stay tuned for coming videos.
@pejmanazad5852
@pejmanazad5852 3 года назад
Thanks. This playlist is very useful. But why not use junit5?
@SimplifiedCoding
@SimplifiedCoding 3 года назад
Its not very well supported with android and other android test libraries.
@BharadwajGiridhar
@BharadwajGiridhar 3 года назад
Nice
@SimplifiedCoding
@SimplifiedCoding 3 года назад
Thanks
@5hubh4m.Sports
@5hubh4m.Sports 3 года назад
Not able to Download Source Code From your blog
@sonalisharma9654
@sonalisharma9654 Год назад
Your download link to source code does not work.
@ashuashwanth6489
@ashuashwanth6489 3 года назад
getting Class not found ValidatorTest ,error
@nicolesylvia6939
@nicolesylvia6939 3 года назад
Awesome 😍💋 💝💖♥️❤️
@footballCartoon91
@footballCartoon91 2 года назад
@8:10 assertThat() is deprecated
@simpleuxapps8759
@simpleuxapps8759 2 года назад
It doesn't let me get the source code which makes this course useless
@vinayTshetty
@vinayTshetty 2 года назад
Circular Video of yours is creating a bad video quality. Reduce the radius. or Dont use at all
@SimplifiedCoding
@SimplifiedCoding 2 года назад
Sure, thanks for the feedback ❤️
@seotsaabrammakaota8023
@seotsaabrammakaota8023 2 года назад
First test method assertThat(result).isEqualTo(true) is deprecated isEqualTo(True) no where to be found. update the course
Далее
Android Unit Test Room Database
12:44
Просмотров 19 тыс.
6 Design Patterns Every Android Developer Must Know
14:16
СОБАКИ ГОЛОДАЮТ ИЗ-ЗА ЛЕРЫ 🥲
01:00
Android Testing ViewModel - Common problems
11:30
Просмотров 7 тыс.
Write your first Compose UI test
7:01
Просмотров 40 тыс.
5 Fatal Coroutine Mistakes Nobody Tells You About
18:15
KotlinConf'24 - Keynote
56:47
Просмотров 50 тыс.
Unit Tests and Test Doubles like Mocks, Stubs & Fakes
17:32
Android ViewModel Unit Test Tutorial
14:59
Просмотров 28 тыс.
Build testable apps for Android (Google I/O'19)
41:41
Aura 879dsp новинка и хит
0:48
Просмотров 180 тыс.
#engineering #diy #amazing #electronic #fyp
0:59
Просмотров 1,9 млн