Test Driven Development w/ Kotlin, Mockk, JUnit 5 | Android Testing Tutorial Part 1 HD

25.01.2019
In this tutorial, I take you through my process for Test Driven Development on the Android Platform in Kotlin (this works for Java as well though; I use Mockito in Java). The goal of this video is to show you the actual way that I go about building and refactoring my applications. TDD is a process which allows you to design better applications, catch bugs faster, and literally prove your application works! It is not easy to learn or apply in the beginning, so take your time with these videos and understand that it took me several months to be comfortable applying this process in my production code. Let me tell you though; it really shines when you are building complicated applications! Please consider reading this article for a simple introduction to the idea of Testing. It explains why people hate testing, what the benefit is, and how it works in a very simple example: https://medium.com/datadriveninvestor/programming-fundamentals-part-6-proving-programs-with-tests-tdd-simple-examples-c501489a4723 To follow along, please visit this starting point here: https://github.com/BracketCove/KotlinMVPCalculator/blob/tddstartingpoint/app/src/main/java/com/wiseassblog/kotlincalculator/presenter/CalculatorPresenter.kt The completed code can be found here: https://github.com/BracketCove/KotlinMVPCalculator/blob/2c12e209c788130d12a26976000f04639f756356/app/src/test/java/com/wiseassblog/kotlincalculator/CalculatorPresenterTest.kt It took me many hours to produce this tutorial, please consider supporting me on Social Media or donating a couple dollars directly for this free information: Follow the wiseAss Community: https://www.instagram.com/wiseassbrand/ https://www.facebook.com/wiseassblog/ https://twitter.com/wiseass301 http://wiseassblog.com/ https://www.linkedin.com/in/ryan-kay-808388114 Support wiseAss here: https://www.paypal.me/ryanmkay

Похожие видео

Показать еще