How to Use the Google's New Screenshot Testing Framework for Compose

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 55

  • @gekylafas
    @gekylafas 6 месяцев назад +14

    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 месяцев назад +9

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

  • @vaibhavvyavahare14
    @vaibhavvyavahare14 6 месяцев назад +2

    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.

  • @thisisreallyme3130
    @thisisreallyme3130 7 дней назад

    Will this take screenshots of browser errors, specifically browser errors that are not rendered by HTML and JS?
    For example, a visual record of SSL or certificate errors. (Tools that rely on WebDriver don't see such error displays)

  •  6 месяцев назад +2

    The verification task creates an HTML report at {module}/build/reports/screenshotTest/preview/{variant}/index.html.
    Maybe there is something useful there?

    • @nicklasnilsson8217
      @nicklasnilsson8217 2 месяца назад

      Yeah I think thats where you can see the differences in failed test for example.

  • @namenilightsizcassina4944
    @namenilightsizcassina4944 6 месяцев назад

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

  • @Klusio19
    @Klusio19 6 месяцев назад

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

  • @lindaporsius
    @lindaporsius 6 месяцев назад

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

  • @D-Gowda09
    @D-Gowda09 6 месяцев назад

    Did you uploaded any video about New compose Lists??

  • @ringgaseptia1720
    @ringgaseptia1720 6 месяцев назад

    Have you ever encountered a problem when placing a lazyverticalstaggeredgrid on a column that can be scrolled vertically... and how do you solve it?

  • @DARKcarlos1
    @DARKcarlos1 6 месяцев назад

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

  • @mr-re1ax
    @mr-re1ax Месяц назад

    Hey guys. Maybe some one faced such error when try to generate screenshot? Task 'updateDebugScreenshotTest' not found in root project

  • @frank4pickerson
    @frank4pickerson 6 месяцев назад +1

    does it test multiplatform like compose on ios?

  • @AtulKaushikmaverick
    @AtulKaushikmaverick 6 месяцев назад

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

  • @tschoukn3155
    @tschoukn3155 6 месяцев назад

    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 6 месяцев назад

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

    • @L4szcZ
      @L4szcZ 6 месяцев назад

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

    • @IonutNegru87
      @IonutNegru87 6 месяцев назад

      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.

  • @paramanathanilanthirayan7178
    @paramanathanilanthirayan7178 4 месяца назад

    Seems like compose screenshot testing is not working with custom font. 🤔

  • @skarloti
    @skarloti 6 месяцев назад +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.

  • @themisterravenous1785
    @themisterravenous1785 6 месяцев назад

    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

  • @juanalbertosulbaranoropeza8972
    @juanalbertosulbaranoropeza8972 6 месяцев назад

    Our real job is handling all those Gradle issues

  • @mariamuitomole
    @mariamuitomole 6 месяцев назад

    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 6 месяцев назад

      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 6 месяцев назад

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

  • @prashantwosti
    @prashantwosti 6 месяцев назад

    on time 🔥

  • @dominicblaich
    @dominicblaich 6 месяцев назад

    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 6 месяцев назад

      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 6 месяцев назад

      fair point :)@@jenovas00

  • @safionweb
    @safionweb 6 месяцев назад

    Awesome

  • @Another0neTime
    @Another0neTime 6 месяцев назад

    Amazing

  • @chawza8402
    @chawza8402 6 месяцев назад +1

    Is it just me there is no audio?

    • @imrulanwar9660
      @imrulanwar9660 6 месяцев назад +1

      just you

    • @loricat5606
      @loricat5606 6 месяцев назад

      I have audio. Wishing you well with troubleshooting!

  • @imSagarMalhotra
    @imSagarMalhotra 6 месяцев назад +1

    Nice thumbnail 😂

  • @ALEX54402
    @ALEX54402 6 месяцев назад

    lets gooooooo lets gooooooooo

  • @WakeupDev.
    @WakeupDev. 6 месяцев назад

    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  6 месяцев назад +2

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

    • @amrel-madah5277
      @amrel-madah5277 6 месяцев назад

      @@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 6 месяцев назад +37

    pray for Palestine 😢🇵🇸

  • @khanra17
    @khanra17 6 месяцев назад

    Boring