Bryan L
05/05/2021, 3:53 PMDay 51
• Completed Part 9 of Testing in Android course
• Read Medium article: Unit testing on Android
Self-Comment
• Not much accomplished today, but I'm understanding testing as a whole more and more. While I understand how separation of concerns is a good practice for testing, it's becoming clearer as I continue diving into the world of writing & reading tests. From repository, viewmodel, and coroutines.. these areas are also becoming less cloudy as I begin to write tests on them. Still some way to go, but I'm enjoying it so far.
• The article was a good read! I feel I'm understanding it better than I would have a week ago. Although I'm not familiar with using a mocking library yet, so I may go over it again when I have some experience. While it can be "enlightening" to see different ways to write the same tests as I go through articles / tutorials / GitHub repos / etc.. It makes it difficult to understand which practice I should follow. I'm sure they all work just fine and just a personal choice, but still makes me wonder..
• Perhaps once I'm done with this course, I'll reach out to a few people to see if I can write some tests for a repo of theirs on GitHub for practice with not only writing tests, but contributing to open-source
Goals Tomorrow
• Continue Testing
◦ Continue YT course:
◦ Read Medium Article: Unit Testing with Kotlin Coroutines: The Android Way
• Algorithm Practice
◦ Possibly do this problem (random easy on Leetcode)