Jose Alcérreca

Android Developer Relations Engineer @ Google

Jose Alcérrecappvi@androiddev.social
2023-08-26

@paul yeah definitely something to keep an eye on! 50gb is massive and you don't need 99% of it. Have you tried flushing old files? That's what was basically impossible on GitHub.

Jose Alcérrecappvi@androiddev.social
2023-08-25

Considerations:
- We're considering removing the instrumented tests that simply assert that something exist. Local screenshot tests cover more and are much more reliable

Uncertain:
- The project contributors might not find the new workflow intuitive.
- Git doesn't generally like big binary files.
- Screenshots can't be commited into forks (you have to create your PR in the fork first)

Example PR: github.com/android/nowinandroi

Jose Alcérrecappvi@androiddev.social
2023-08-25

We added screenshot tests to the Now In Android app!

Some decisions:

- We're using Roborazzi, which uses Robolectric to take the screenshots.
- Screenshots are captured and compared on CI to avoid subtle platform differences. Diff threshold is set to 0.
- We decided to skip git LFS: Old files can't be flushed easily and Github didn't show images correctly.

Jose Alcérrecappvi@androiddev.social
2023-07-28

🧪 Here's a JUnit TestRule that keeps your composable content through activity recreation. It's only needed if you want to test recreation/config changes using an empty activity.
gist.github.com/JoseAlcerreca/
Feedback welcome!

Jose Alcérreca boosted:
Alex Vanyo (he/him)alex_vanyo@androiddev.social
2023-01-11

@codewiththeitalians @ppvi Join us in 15 minutes to see how you can add a test harness for your instrumented tests!

Jose Alcérrecappvi@androiddev.social
2022-12-19

Performance review time at Goog. If you see a manager, hug them.

Jose Alcérrecappvi@androiddev.social
2022-11-29

From Accompanist v0.28.0 you can try out the new Test Harness library!

You can use it in Compose tests to resize a composable so it always fits the device, change locales, toggle dark mode, and more!

📑Check out the docs: google.github.io/accompanist/t

Congrats
@alex_vanyo!

Jose Alcérrecappvi@androiddev.social
2022-11-27
Jose Alcérrecappvi@androiddev.social
2022-11-18

@alexvanyo
created a test harness for Compose that lets you fit any Composable into any device, among other things. It's similar to @Preview but for tests.

And we're bringing it to Accompanist. Check it out and give us feedback! github.com/google/accompanist/

Jose Alcérrecappvi@androiddev.social
2022-11-14

In architecture-templates, I'd like to set up
Renovate bot
so it updates Kotlin and the Compose compiler in an independent PR. If anyone want to take a stab at it, let me know 😅 github.com/android/architectur

Jose Alcérrecappvi@androiddev.social
2022-11-14

@cb so you've spent more time working on the blog than writing on the blog this year 😆 I've seen this trend though, are we blogging less?

Jose Alcérrecappvi@androiddev.social
2022-11-14

@friendlymike testingggg

Jose Alcérrecappvi@androiddev.social
2022-11-09

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst