Test Driven Development is my favorite kind of Software Development Life Cycle. TDD - Test Driven Development is a Software Development Life Cycle, that leads the development of a feature by writing the test first. The loop goes as, Write failing unit test -> Write the actual implementation -> Run the test so it passes Test -> Develop -> Pass : Repeat Now this verifies the implemented functionality is doing what is supposed to do. Lets look at a simple example -I think for the last couple of articles we are only looking at theory without any actual code or working lets fix that. Say you are working on a feature where you need to give certain features only to Premium users, for that, first you will write unit test as fun `verify user have premimum membership`(){ //given setupUserProfile(loggedInViaEmail = true ) //when val result = sut . checkIsUserHaveActiveSubscription() ...
An android developer's guide to developing pixel perfect and futuristic cutting edge Android Application using Kotlin and Android Jetpack libraries. In this blog, I'll share the knowledge and experience I have gained over the years developing, High Quality and Innovative User Friendly Android Apps, all the while guiding you to stay on top of Android development using the latest and upcoming AI/ LLM tools.