Pravin SonawaneMocking is not practical — Use fakesThis article talks about the benefits fakes provide over mocks in testing software. Fakes lead to better API and readable/robust tests.Mar 25, 20206Mar 25, 20206
Pravin SonawaneClean Architecture — Functional Style Use Case Composition with RxJava/KotlinImagine you’ve been assigned to a new project and this is the first meeting where the first thing the project manager says isJun 7, 20197Jun 7, 20197
Pravin SonawaneClean architecture — error handling with Kotlin/RxJavaWhen it comes to RxJava2 error handling, the first thing that comes to mind is theio.reactivex.exceptions.OnErrorNotImplementedException…Apr 4, 20193Apr 4, 20193
Pravin SonawaneBetter Kotlin unit testing with mock helper functionsKotlin with its default and named arguments makes the call site code of a function elegant and readable.Mar 6, 20191Mar 6, 20191
Pravin SonawaneKotlin string interpolation gotchasKotlin’s string interpolation is an amazing feature. Combined with autocompletion support by the Intellij IDE, writing interpolated strings…Jul 17, 2018Jul 17, 2018
Pravin SonawaneAndroid — Dimensions by ConventionsIn this article, we will see a simple approach to use ‘conventions’ for dimension resources on Android. But the same conventions can be…Dec 12, 20174Dec 12, 20174