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...
  • Наука та технологія

КОМЕНТАРІ • 49

  • @gekylafas
    @gekylafas Місяць тому +10

    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.

  • @sloanphone2323
    @sloanphone2323 Місяць тому +6

    you're so real for keeping all the gradle compilation errors in the video 🤣

  • @lindaporsius
    @lindaporsius Місяць тому

    Thank you Philipp. It is great how you keep up the good work to inform us about the new developments.

  • @DARKcarlos1
    @DARKcarlos1 Місяць тому

    Awesome!! Will you add some of these subject in your testing course??

  • @skarloti
    @skarloti Місяць тому +1

    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.

  • @namenilightsizcassina4944
    @namenilightsizcassina4944 Місяць тому

    Great!What is shortcut for creating new class or file in android studio?

  • @Klusio19
    @Klusio19 Місяць тому

    Hi Philipp. Can you tell what is the name of theme you are using?
    Great video as always!

  • @D-Gowda-vb4si
    @D-Gowda-vb4si Місяць тому

    Did you uploaded any video about New compose Lists??

  • @frank4pickerson
    @frank4pickerson Місяць тому +1

    does it test multiplatform like compose on ios?

  • @prashantwosti
    @prashantwosti Місяць тому

    on time 🔥

  • @vaibhavvyavahare14
    @vaibhavvyavahare14 Місяць тому +1

    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.

  • @ringgaseptia1720
    @ringgaseptia1720 Місяць тому

    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?

  • @Another0neTime
    @Another0neTime Місяць тому

    Amazing

  • @safionweb
    @safionweb Місяць тому

    Awesome

  • @ALEX54402
    @ALEX54402 Місяць тому

    lets gooooooo lets gooooooooo

  • @tschoukn3155
    @tschoukn3155 Місяць тому

    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.

    • @bryankeltonadams
      @bryankeltonadams Місяць тому

      Get any macbook with an M series processor that you can afford.

    • @L4szcZ
      @L4szcZ Місяць тому

      no worries bro, when I was starting with android development I was waiting sometimes 20 minutes to finish building project ;)

    • @IonutNegru87
      @IonutNegru87 Місяць тому

      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.

  • @AtulKaushikmaverick
    @AtulKaushikmaverick Місяць тому

    google has an internal tool called scubas for screens shot testing we use , i guess they probably trying to replicate that here

  • @mariamuitomole
    @mariamuitomole Місяць тому

    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.

    • @sharkaboi
      @sharkaboi Місяць тому

      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.

    • @mariamuitomole
      @mariamuitomole Місяць тому

      @@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.

  • @juanalbertosulbaranoropeza8972
    @juanalbertosulbaranoropeza8972 Місяць тому

    Our real job is handling all those Gradle issues

  • @Sagar0-0
    @Sagar0-0 Місяць тому +1

    Nice thumbnail 😂

  • @dominicblaich
    @dominicblaich Місяць тому

    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

    • @jenovas00
      @jenovas00 Місяць тому

      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.

    • @dominicblaich
      @dominicblaich Місяць тому

      fair point :)@@jenovas00

  • @themisterravenous1785
    @themisterravenous1785 Місяць тому

    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

  • @chawza8402
    @chawza8402 Місяць тому +1

    Is it just me there is no audio?

    • @imrulanwar9660
      @imrulanwar9660 Місяць тому +1

      just you

    • @loricat5606
      @loricat5606 Місяць тому

      I have audio. Wishing you well with troubleshooting!

  • @WakeupDev.
    @WakeupDev. Місяць тому

    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

    • @PhilippLackner
      @PhilippLackner  Місяць тому +2

      Because it can't yet reliably. And it's quite far from that for bigger projects

    • @amrel-madah5277
      @amrel-madah5277 Місяць тому

      @@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.

  • @EL_________HAMZA.....848
    @EL_________HAMZA.....848 Місяць тому +33

    pray for Palestine 😢🇵🇸

  • @khanra17
    @khanra17 Місяць тому

    Boring