Slide 1

Slide 1 text

BY SERGIO SASTRE Screenshot Testing in CMP Automating Let’s the Future

Slide 2

Slide 2 text

How does screenshot testing @Gio_Sastre work ?

Slide 3

Slide 3 text

record AND verify @Gio_Sastre

Slide 4

Slide 4 text

CI @Gio_Sastre @Composable JVM

Slide 5

Slide 5 text

CI @Gio_Sastre + @Preview @Composable JVM

Slide 6

Slide 6 text

CI @Gio_Sastre + @Preview @Composable = test JVM

Slide 7

Slide 7 text

CI @Gio_Sastre + @Preview @Composable JVM

Slide 8

Slide 8 text

CI @Gio_Sastre + @Preview @Composable record JVM

Slide 9

Slide 9 text

CI @Gio_Sastre + @Preview @Composable record JVM

Slide 10

Slide 10 text

CI @Gio_Sastre + @Preview @Composable JVM

Slide 11

Slide 11 text

CI @Gio_Sastre + @Preview @Composable refactoring JVM

Slide 12

Slide 12 text

CI @Gio_Sastre + @Preview @Composable refactoring verify JVM

Slide 13

Slide 13 text

CI @Gio_Sastre + @Preview @Composable refactoring verify JVM

Slide 14

Slide 14 text

CI @Gio_Sastre + @Preview @Composable refactoring verify JVM

Slide 15

Slide 15 text

CI @Gio_Sastre + @Preview @Composable refactoring verify JVM

Slide 16

Slide 16 text

CI @Gio_Sastre + @Preview @Composable refactoring verify JVM

Slide 17

Slide 17 text

@Gio_Sastre + @Preview @Composable JVM refactoring verify

Slide 18

Slide 18 text

@Gio_Sastre + @Preview @Composable JVM refactoring verify

Slide 19

Slide 19 text

@Gio_Sastre + @Preview @Composable JVM refactoring verify

Slide 20

Slide 20 text

@Gio_Sastre + @Preview @Composable JVM refactoring verify

Slide 21

Slide 21 text

@Gio_Sastre = test @Preview

Slide 22

Slide 22 text

@Gio_Sastre + = test @Preview

Slide 23

Slide 23 text

Composable Preview Scanner https://github.com/sergio-sastre/ComposablePreviewScanner @Gio_Sastre

Slide 24

Slide 24 text

@Gio_Sastre ANDROID @Preview @Preview @Preview COMMON widthDp heightDp widthDp heightDp fontScale locale uiMode device wallpapers apiLevel @Preview systemUi showBackground backgroundColor name group name group fontScale locale device @Previews in CMP DESKTOP @Preview

Slide 25

Slide 25 text

@Gio_Sastre ANDROID @Preview @Preview @Preview COMMON widthDp heightDp widthDp heightDp fontScale locale uiMode device wallpapers apiLevel @Preview systemUi showBackground backgroundColor name group name group fontScale locale device @Previews in CMP DESKTOP @Preview

Slide 26

Slide 26 text

@Gio_Sastre ANDROID @Preview @Preview @Preview COMMON widthDp heightDp widthDp heightDp fontScale locale uiMode device wallpapers apiLevel @Preview systemUi showBackground backgroundColor name group name group fontScale locale device @Previews in CMP DESKTOP @Preview

Slide 27

Slide 27 text

@Gio_Sastre ANDROID @Preview @Preview @Preview COMMON widthDp heightDp widthDp heightDp fontScale locale uiMode device wallpapers apiLevel @Preview systemUi showBackground backgroundColor name group name group fontScale locale device @Previews in CMP DESKTOP @Preview

Slide 28

Slide 28 text

@Gio_Sastre ANDROID @Preview @Preview @Preview COMMON widthDp heightDp widthDp heightDp fontScale locale uiMode device wallpapers apiLevel @Preview systemUi showBackground backgroundColor name group name group fontScale locale device @Previews in CMP DESKTOP @Preview

Slide 29

Slide 29 text

@Gio_Sastre DEMO TIME

Slide 30

Slide 30 text

@Gio_Sastre ANDROID @Preview @Preview @Preview COMMON widthDp heightDp widthDp heightDp fontScale locale uiMode device wallpapers apiLevel @Preview systemUi showBackground backgroundColor name group name group fontScale locale device DESKTOP @Preview Common ComposablePreviewScanner Android ComposablePreviewScanner JvmAnnotation Scanner Composable Scanner

Slide 31

Slide 31 text

@Gio_Sastre ANDROID @Preview @Preview @Preview COMMON widthDp heightDp widthDp heightDp fontScale locale uiMode device wallpapers apiLevel @Preview systemUi showBackground backgroundColor name group name group fontScale locale device DESKTOP @Preview Common ComposablePreviewScanner Android ComposablePreviewScanner JvmAnnotation Scanner Composable Scanner

Slide 32

Slide 32 text

@Gio_Sastre ANDROID @Preview @Preview @Preview COMMON widthDp heightDp widthDp heightDp fontScale locale uiMode device wallpapers apiLevel @Preview systemUi showBackground backgroundColor name group name group fontScale locale device DESKTOP @Preview Common ComposablePreviewScanner Android ComposablePreviewScanner JvmAnnotation Scanner Composable Scanner

Slide 33

Slide 33 text

@Gio_Sastre ANDROID @Preview @Preview @Preview COMMON widthDp heightDp widthDp heightDp fontScale locale uiMode device wallpapers apiLevel @Preview systemUi showBackground backgroundColor name group name group fontScale locale device DESKTOP @Preview Common ComposablePreviewScanner Android ComposablePreviewScanner JvmAnnotation Scanner 0.7.0 Composable Scanner

Slide 34

Slide 34 text

@Gio_Sastre ANDROID @Preview @Preview @Preview COMMON widthDp heightDp widthDp heightDp fontScale locale uiMode device wallpapers apiLevel @Preview systemUi showBackground backgroundColor name group name group fontScale locale device DESKTOP @Preview Common ComposablePreviewScanner Android ComposablePreviewScanner JvmAnnotation Scanner 0.8.0 0.7.0 Composable Scanner

Slide 35

Slide 35 text

Linkedin @SergioSastre sergio-sastre @Gio_Sastre Hashnode blogs Sergio Sastre Flórez GDE for Android Lead Android developer Github sergio-sastre-florez