I always look forward to the Wojtek Kaliciński’s talks - he’s a Google Developer Advocate at Google, who I had a chance to meet on the last year's Google IO conference. Seeing how the conference room was getting fully-packed during this talk made me realize that the overall interest in his speeches was extremely high. At Droidcon Berlin, Wojtek introduced the audience to new Android Studio profiling tools and an analyzer.
A memory and object analyzer is now built-in in Android Studio. It’s also possible to preview allocations for a selected time slice. There were also neat examples of how to utilize a command line APK-analyzer in CI environment, e.g., to track changes in permissions of the app.
Another Googler’s session that drawn plenty of attention was Florina Muntenescu’s talk on Room - a new persistence component for the Android platform. A third Google representative, Ben Weiss, described a procedure for creating Instant Apps. It’s easy once you have your app separated into modules. The technology, however, is competing with Progressive Web Apps. The next day Google Developers Days (GDD) was held in Krakow, and consequently, all Googlers left quickly to join that event. Thus, there was no time for a small talk, unfortunately. GDD was live streamed during the second day of Droidcon Berlin in one of the halls, which was a favour from organizers.
After Ben, the stage was given to Danny Preussler - leader of one of the projects we were working on together during our collaboration with Viacom. His “The power of Kotlin for your tests” included live coding and was full of examples how to convert Java tests into Kotlin ones utilizing Mockito and Kluent. So, scheduling mine and Greg’s talk about specification frameworks for the unit test in Koltin right after Danny’s performance seemed logical.
We talked about the plenty of benefits developers can get from libraries like KotlinTest, Spek Framework and how it may turn ugly Java tests into a live specification. Our audience was also introduced to Expekt - an assertion library.