How to Use the Google's New Screenshot Testing Framework for Compose
Вставка
- Опубліковано 21 тра 2024
- In this video I'll show you how to use the Google's New Screenshot Testing Framework for Compose!
💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:
pl-coding.com/drop-table-ment...
⭐ Courses with real-life practices
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:
pl-coding.com/premium-courses...
Get my FREE PDF about 20 things you should never do in Jetpack Compose:
pl-coding.com/jetpack-compose...
Regular programming advice on my Instagram page: / _philipplackner_
Join my Discord server:
/ discord
Get the source code for this video on GitHub:
github.com/philipplackner/Com... - Наука та технологія
I very much like it when you don't edit out any errors/typos/whatever and show the everyday experience of a normal developer. There is value in demonstrating how to overcome errors and I thank you for that.
you're so real for keeping all the gradle compilation errors in the video 🤣
Thank you Philipp. It is great how you keep up the good work to inform us about the new developments.
Awesome!! Will you add some of these subject in your testing course??
This is a good start for easy and full automatic tests UI. Maybe Firebase will integrate it as a tool in their physical devices sharing.
Great!What is shortcut for creating new class or file in android studio?
Hi Philipp. Can you tell what is the name of theme you are using?
Great video as always!
Did you uploaded any video about New compose Lists??
does it test multiplatform like compose on ios?
on time 🔥
Hello Philipp,
I just sarted learnig kotlin . I want to become a App developer. I came to know some of main things right now in android developments like KMP , Jetpack compose , Compose Multiplatform and all. I want to ask you what path will you suggest me to become a strong app developer that when and what i have to start with. To become good in all these kmp, jetpack compose, and all..
Please guide me.and i Really thank full to you for your videos.
Have you ever encountered a problem when placing a lazyverticalstaggeredgrid on a column that can be scrolled vertically... and how do you solve it?
The verification task creates an HTML report at {module}/build/reports/screenshotTest/preview/{variant}/index.html.
Maybe there is something useful there?
Amazing
Awesome
lets gooooooo lets gooooooooo
Hey, I have a question about which laptop I should buy for developing Android apps. Currently, I have a Huawei laptop that works pretty well for developing things for my classes, but when it comes to app development, it performs awfully. For example, it takes 30 seconds to run an app, and that's the best-case scenario. I would appreciate it if someone could answer me. Thank you.
Get any macbook with an M series processor that you can afford.
no worries bro, when I was starting with android development I was waiting sometimes 20 minutes to finish building project ;)
I'm considering Lenovo Yoga Pro 9i with the Core Ultra procesor. Initially i wanted an macbook also, but the price is crazy at almost 4k €. Just make sure you get enough RAM, i recommend 32GB, especially on laptops where you can't upgrade.
google has an internal tool called scubas for screens shot testing we use , i guess they probably trying to replicate that here
Hey Philipp, it's an unrelated question, but I'm facing a problem I can't solve on jetpack compose.
I'm trying to make a custom keyboard on the app I'm working on, but I can't seem to find a way to get an InputConnection from BasicTextField, to emit key events to it from the custom keyboard. Did you already faced this problem?
I made a custom keyboard work before, but with a different solution. When a keyboard key was pressed, I would manipulate the text on the TextFieldState directly, but this way InputTransformation wasn't getting triggered, so now I wanted to use InputConnection to be able to trigger InputTransformation.
Think you can just pass your own input connection wrapper impl to LocalTextInputService composition provider and it would work as if input is coming from the IME.
@@sharkaboi Sadly LocalTextInputService is deprecated as of foundation:1.7.0-beta1. It says to instead use PlatformTextInputModifierNode but I don't know how to use it.
Our real job is handling all those Gradle issues
Nice thumbnail 😂
Can you also update only specific screens? If not then this is pretty useless.. because ui only changes when you do ui changes and therefore you anyway have to update the debugscreenshot
Before doing the update you can run validate and confirm only the screen you wanted to change fails, if more than that one fails you know you messed up and you only do update when you confirm that the only screen that changed is the screen you were working on and the changes are OK.
fair point :)@@jenovas00
do you use iPhone or Android as personal device? just for curiosity haha I'm years with android development but I use everything from apple
Is it just me there is no audio?
just you
I have audio. Wishing you well with troubleshooting!
Automated testing is one of the things AI could help facilitate during development. If you think about this critically, why do I have to write test scripts? AI should be able to generate all the necessary test cases for me
Because it can't yet reliably. And it's quite far from that for bigger projects
@@PhilippLackner @WakeupDev. From its title "Compose Preview Screenshot Testing" it's only for the testing of Compose Preview functions with the different states if any of them is implemented for interacting with the states for sure like that one in the video (LoginState), so it's not for the normal UI tests with user interactions on a running app.
pray for Palestine 😢🇵🇸
Free Palestine
Same here😢
Free Palestine
Palestine 🇵🇸🇵🇸🇵🇸
Free Israel
Boring