erikmedina.devBuilding an artificial back stack with the Android Navigation componentContext Backwards navigation with Navigation Component isn't a mystery, is it? We don't have to do anything, we have it for free. But, what if you want to navigate straight to a specific destination? And be able to navigate back to the start destinat...Dec 26, 2021·5 min read
erikmedina.devFinding a bug when you have no idea where to startTL;DR Start a sessiongit bisect start Set the bad commit Either the current commit you're checked out has the bug git bisect bad or a specific commit has the bug, for example, dcf12e8 git bisect bad dcf12e8 Set the good commit (e.g. eff13d3 doesn...Jun 8, 2021·4 min read
erikmedina.devTesting With MockKShould I use MockK in the first place? First things first. Why add a new library for testing into the project if I already use Mockito and/or Powermock and those are just fine? We tested before MockK, didn't we? What's the benefit of adding it now...Apr 25, 2021·5 min read
erikmedina.devIs Unit Testing Really That Important?Short answer: Yes. Long answer: Yes, Unit Testing is that important. If you just searched the web for unit testing, congratulations! You're on the right track. The sooner you start including tests in your code the better. I wish I knew this when I ...Mar 23, 2021·5 min read