Testing in Android - Introduction & Types Of Tests
Вставка
- Опубліковано 6 вер 2024
- 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 ✅
This video gives you an introduction to testing in Android, as it tells you what testing, why do we write tests cases and types of tests with explanation. Enjoy!
Follow me on Instagram:
/ ahmed_guedmioui
#androidtesting #unittesting #kotlin #androidstudio #jetpackcompose #java #mobiledevelopment #androiddeveloper
Great job with this series, Ahmed!
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 ✅
Notes
* Testing is verifying if functions and classes are working as expected in an app.
* There are three main types of tests: unit tests, integration tests, and end-to-end tests.
* Unit tests test a single function or a component in an app. They are typically the fastest and most common type of test.
* Local unit tests are very fast and do not require access to the Android framework.
* Instrumented unit tests are a little bit slower because they need an Android device to run and they access the Android framework components.
* Integration tests ensure that different components in an app work together as expected. They can be written to access the Android framework or not.
* End-to-end tests test the UI of an app by simulating user behavior. They are the slowest type of test and require access to the Android framework components.
Love your videos we want KMP video in the future ❤❤❤
Much needed Ahmed ✅
❤❤❤
Attendance
I love it❤
Bro can you make a video on pagging 3 please?
If you only told me before I started this testing playlist. I will but after I finish this playlist
@@ahmed_guedmioui Thank you so so much.
@@ahmed_guedmiouiSr once i try make unit test for my viewmodel in my Company, but the project has a struct that i dont undestrand How make test with that code. Can you provide some tips to how integrate with this kinda project?
Eg: we have context on viewmodel, we dont have usecase 😢
great video