Тёмный

Test Addition of Shopping Items - Testing on Android - Part 15 

Philipp Lackner
Подписаться 182 тыс.
Просмотров 6 тыс.
50% 1

In this video we will test the manual insertion of shopping items into our database with Espresso.
⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:
pl-coding.com/...
GET MY AUGMENTED REALITY UDEMY COURSE HERE:
www.udemy.com/...
Regular Android tutorials on my Instagram: / philipplackner_official
Checkout my GitHub: github.com/phi...

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

 

18 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@VeronikaDoma-f5y
@VeronikaDoma-f5y Год назад
Thank you so much ❤
@mrinaldas8660
@mrinaldas8660 3 года назад
awesome tutorial 👌👌👌
@aridwiprayogo
@aridwiprayogo 4 года назад
Very useful tutorials 😊👍
@mustafaammar551
@mustafaammar551 3 года назад
very cool Thank you Bro
@PhilippLackner
@PhilippLackner 3 года назад
You're welcome
@akashdeepwadhwa5828
@akashdeepwadhwa5828 3 года назад
thanks for tutorial but in my case testviewmodel is not working .showing expected was shoppingitemobject but got [] .. anyone help?
@ZaidZakir
@ZaidZakir 3 года назад
yes same error, were u able to solve it ???
@akashsaha8357
@akashsaha8357 Год назад
@@ZaidZakir Same Error
@alij3fer
@alij3fer 4 года назад
Ganet ❤❤❤
@akashsaha8357
@akashsaha8357 Год назад
Hi I am always getting this error , even though my database contains all the data. expected to contain: ShoppingItem(name=shopping item, amount=5, price=5.5, imageUrl=, id=null) but was : [] Please help me with this. Someone else has also reported this bug. Please respond.
@grooss4002
@grooss4002 3 года назад
Hi great tutorial, I hope you keep making these videos. I am using hilt and I have my ViewModel with @ViewModelInject annotation and in the fragment I use by viewModels() annotation to instantiate. If I want to test my fragment with my viewModel, is the process the same as you showed in this video? or do I need to do something else?. Sorry if my english is a little bad. I hope you have understood me.
@PhilippLackner
@PhilippLackner 3 года назад
yes the process is the same
@amirpirazad1730
@amirpirazad1730 3 года назад
thanks for your video but the repository of ShoppingListTestingYT is empty please push code on it
@homanhuang2054
@homanhuang2054 3 года назад
I had passed the test. I still don't understand why the test needs to add fragmentFactory. Does the activity use the same method?
@ZaidZakir
@ZaidZakir 3 года назад
did u watch hes earlier videos ?? he clearly mentioned its to pass parameters to fragments while testing to be used by HILT
@baselnat93
@baselnat93 3 года назад
@@ZaidZakir right but how are we injecting the fragment factory into the test class @Inject lateinit var fragmentFactory: ShoppingFragmentFactory we didnt provide this object in testAppModule
Далее
6 Design Patterns Every Android Developer Must Know
14:16
Bottom Nav Bar #03 | Material 3 | Jetpack Compose
12:21
Testing Room Databases - Testing on Android - Part 6
24:14
Hot Flows vs. Cold Flows In Kotlin - When to Use What?
14:35
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
Просмотров 895 тыс.
Simple Code, High Performance
2:50:14
Просмотров 250 тыс.
Architectural Skeleton - Testing on Android - Part 9
17:35