Showing posts with the label Coroutines

안드로이드 유닛 테스트: 생존을 넘어 예술로 (JUnit 5, MockK, Turbine)

기능을 추가할 때마다 기존 코드가 깨질까 봐 두려워 배포 버튼을 누르기 주저한 적이 있는가? "내 컴퓨터에서는 잘 돌아가는데" 라는 변명은 프로덕션 환경에서 아무런 효력이 없다. 테스트 코드는 단순한 버그 탐지기가 아니다. 그것은 엔지니어가 자신 있게 구조를 변경(Refactoring)할 수 있게 해주는 유일한 '안전장치'…
안드로이드 유닛 테스트: 생존을 넘어 예술로 (JUnit 5, MockK, Turbine)

Android Unit Testing: JVM and Mocking Patterns

M obile application stability is often compromised by the complexity of the Android lifecycle and the tight coupling between UI components and business logic. In a CI/CD environment, relying solely …
Android Unit Testing: JVM and Mocking Patterns

Android Jsoupスクレイピング: 画像収集アプリのアーキテクチャと非同期処理

モ バイルアプリケーション開発において、公式APIが存在しないデータソースへのアクセスが必要となるケースは少なくありません。レガシーシステムの統合や、サードパーティのデータ収集において、HTML解析(スクレイピング)は依然として有効な選択肢の一つです。本稿では、Androidプラットフォーム上でHTMLパーサライブラリである Jsoup を利用し、画像リソースを効率的に収集・表示するアプリケー…
Android Jsoupスクレイピング: 画像収集アプリのアーキテクチャと非同期処理

Escaping Callback Hell: Real-world Kotlin Coroutines & Flow Migration

The screen freezes. You tap the button again, but nothing happens. Five seconds later, the dreaded "Application Not Responding" (ANR) dialog kills the experience. In 2024, blocking the mai…
Escaping Callback Hell: Real-world Kotlin Coroutines & Flow Migration
OlderHomeNewest