ylliX - Online Advertising Network

Flow testing with Turbine

Posted by Jake Wharton on June 21, 2023 Say hello to Turbine 1.0, our library for testing kotlinx.coroutines Flow and more. Turbine changes push-based Flows into pull-based suspend functions to simplify testing. mealsFlow.test { assertEquals(Meal.Breakfast, awaitItem()) assertEquals(Meal.Lunch, awaitItem()) assertEquals(Meal.Dinner, awaitItem()) awaitComplete() } Each awaitItem() or awaitComplete() call suspends until the desired event arrives. If a different […]

The Rabbit Hole: The Definitive Developer’s Podcast: 303. Testing Tango: Red, Green, Refactor, and Why It’s Important To Follow Those Steps

The red, green, refactor approach helps streamline testing and development processes, improve code quality, and foster collaboration. It promotes a disciplined and iterative approach to software development, resulting in more reliable and maintainable systems. Join us in this captivating episode as we explore this mysterious testing approach that transforms software development. Source link

What Android Needs To STEAL From iOS 17

On this week’s episode of the Android Central Podcast, Shruti Shekar, Jerry Hildenbrand, Andrew Myrick, and Derrek Lee discuss what Android 15 needs to steal from iOS 17, what iOS 17 needs to learn from Google, the Samsung Galaxy Watch & Google Pixel Watch’s new health features, review the Moto G Stylus 5G, rave about […]

Book Briefs #49

Even though, as my collection of books has grown, my appetite for first editions has increased, I still have a soft spot for reprints. (It was one of the likes in my Valentine to architecture books, after all.) They allow hard-to-find, often prohibitively expensive books to be readily available once again and appreciated by new […]

Affirmative Action : Throughline

Christopher Furlong/Getty Images Christopher Furlong/Getty Images This conversation was recorded ahead of the Supreme Court’s expected decision on affirmative action. As of publishing, no decision has been issued. The Supreme Court is expected to rule on affirmative action sometime this month. Most of us understand that some colleges use race as a factor in college […]