Test Driven Development (TDD) Principle Explained - Testing in Android

  Рет қаралды 506

Ahmed Guedmioui

Ahmed Guedmioui

Күн бұрын

Get my premium course to build industry-level Android apps & Ktor backends. 🚀
ahmed-guedmiou...
And take your skills to the next level and become ready for the Android industry ✅
In this video you will learn about the Test Driven Development (TDD) principle in software development. As well as other good practices to follow when writing tests.
Follow me on Instagram:
/ ahmed_guedmioui
#androidtesting #unittesting #kotlin #androidstudio #jetpackcompose #java #mobiledevelopment #androiddeveloper

Пікірлер: 6
@ahmed_guedmioui
@ahmed_guedmioui 2 ай бұрын
Get my premium course to build industry-level Android apps & Ktor backends. 🚀 ahmed-guedmioui.thinkific.com/courses/build-industry-level-apps-and-ktor-backends And take your skills to the next level and become ready for the Android industry ✅
@henrik908
@henrik908 3 ай бұрын
Thank you for the video 🤜🏻🤛🏻.
@ophariom12
@ophariom12 3 ай бұрын
Summary * Test Driven Development (TDD) is a software development approach where you write the test cases before you write the actual code. * This helps to ensure that your code is functioning properly and avoids bugs and crashes. * Here's how TDD works: * First, you create the function signature, which defines the name of the function and the parameters it takes. * Then, you write the test cases for the function. These test cases should test both positive and negative scenarios. * Once you have written the test cases, you can then implement the code for the function. * After you have implemented the code, you should run the test cases again. The test cases should now pass. * If the test cases fail, then there is a bug in your code and you will need to fix it. * Here are some other good practices for writing tests: * Isolate your tests as much as possible. This means that each test should only test one function. * Test both positive and negative scenarios. Positive scenarios are when the user inputs valid input. Negative scenarios are when the user inputs invalid input. * Avoid flaky tests. Flaky tests are tests that don't give consistent results. You want your tests to pass all the time.
@زيد_اليماني
@زيد_اليماني 3 ай бұрын
Great video 🔥
@ophariom12
@ophariom12 3 ай бұрын
Thnakyou bro 😍
@kinggrey2511
@kinggrey2511 3 ай бұрын
Can you make a video on stripe or payments in general also connection to a database such as appwrite or mongodb
How to Write Unit Tests for your Android Apps
31:01
Ahmed Guedmioui
Рет қаралды 989
Android Test Driven Development Tutorial
6:07
Simplified Coding
Рет қаралды 20 М.
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 35 МЛН
The Joker wanted to stand at the front, but unexpectedly was beaten up by Officer Rabbit
00:12
Touching Act of Kindness Brings Hope to the Homeless #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 19 МЛН
I am done with ViewModels...
11:15
Sebastian Sellmair
Рет қаралды 3,2 М.
Clean Architecture Explained - (Android Full Tutorial)
39:52
Ahmed Guedmioui
Рет қаралды 2,9 М.
Postgres just got even faster
26:42
Hussein Nasser
Рет қаралды 22 М.
Molly: A More Secure Signal
8:05
Techlore
Рет қаралды 12 М.
Mobile Apps - Web vs. Native vs. Hybrid
13:04
Traversy Media
Рет қаралды 400 М.
OpenAI o1 like reasoning with... Llama?
18:44
Chibi AI
Рет қаралды 3,5 М.
Simple Code, High Performance
2:50:14
Molly Rocket
Рет қаралды 250 М.
Dependency Injection with Koin - (Android Tutorial)
28:26
Ahmed Guedmioui
Рет қаралды 798
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 35 МЛН