Android Unit Testing and Test Driven Development

所在平台: Udemy

课程主页: https://www.udemy.com/course/professional-android-unit-testing/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:Android单元测试与测试驱动开发 课程概述: 本课程旨在教授您在Android应用程序中进行单元测试和测试驱动开发 (TDD) 所需的所有知识。通过一系列精心设计的实践练习,您将快速掌握使用Android Studio和JUnit进行单元测试的技巧。 什么是单元测试? 单元测试是编写狭义范围的自动化测试的实践,用以确保生产代码的正确性。这些自动化测试使得您编写出更少错误且长期安全的代码。如果进行单元测试,您将能够创建质量更高的Android应用程序,并更易于维护。 什么是测试驱动开发? 测试驱动开发 (TDD) 是一套特别的单元测试技术,要求在编写生产代码之前首先编写测试。尽管TDD初看起来复杂,但我会向您展示这实际上是进行单元测试的最简单方法。 单元测试在Android中的重要性: 单元测试被普遍视为资深Android开发者必须具备的技能之一。它是对中长期职业发展的良好投资。如果错误出现在您的Android应用程序中,定位和修复这些错误将非常具有挑战性。此外,即使您修复了错误,所有用户更新应用程序以接收修复也可能需要数天或数周。通过单元测试您的代码,您可以显著减少应用程序中的错误。 为了使您的应用程序可进行单元测试,您需要编写遵循最佳设计原则的解耦代码。这将自动保证更易于长期维护。此外,适当的单元测试还可以让Android应用开发变得更加轻松,并节省大量时间。 为何选择本课程: 本课程旨在以最短时间向您介绍专业级Android单元测试。假设您已经掌握Java并具备构建Android应用的经验,因此本课程不会浪费时间在Java和Android基础上。您将通过精心设计的练习来实践所学知识,并逐步增强您的单元测试技能。本课程面向没有单元测试经验的专业Android开发者,但即便是有经验的Android单元测试者也会在课程中获得新的、有价值的信息。 如果您有兴趣学习专业级Android应用的单元测试,本课程便是为您量身定做!

课程评论(0条)

课程详情

This course will teach you all you need to know about Unit Testing and Test Driven Development in Android applications. It's designed to get you up and running with unit testing using Android Studio and JUnit in no time by working through a series of carefully crafted hands-on exercises.What's unit testing?Unit testing is a practice of writing narrowly scoped automated tests to ensure correctness of your production code. These automated tests allow you to write code that has fewer bugs and is safer to work with in the long term. If you do unit testing, you can write higher quality Android applications that are easier to maintain.What's test driven development?Test driven development (TDD) is a set of special unit testing techniques that mandate writing the tests before the production code. While TDD might look complicated on the first sight, I'll show you that it's actually the easiest way to do unit testing.What's the importance of unit testing in Android?Unit testing is widely considered one of the most important skills for senior Android developers to have. It's a great investment into medium- and long-term professional career growth.If bugs slip into your Android application, it can be very challenging to locate and fix them. Furthermore, even after you fix the bugs, it can take days or even weeks until all your users update the app to actually receive these fixes. That's a tough reality of professional Android developer's job. Fortunately, you can greatly reduce the number of bugs in your applications by unit testing your code!To make your applications unit testable, you'll need to write decoupled code that follows best design principles. This automatically guarantees easier long-term maintenance. In addition, unit testing makes developing Android applications easier and spares a lot of time when done right. Why you should take this course:This course is designed to introduce you to professional grade Android unit testing in the shortest amount of time. I assume that you already know Java and have experience building Android apps. Therefore, this course will not waste your time on Java and Android basics. You'll practice what you learn in this course with carefully designed exercises and gradually build up your unit testing skill. This course is aimed at professional Android developers who have no prior experience in unit testing. However, I'm confident that even experienced Android unit testers will find much new and valuable information in it.So, if you're interested in learning professional grade unit testing in Android apps - this course is for you.

课程标签

0人关注该课程

主题相关的课程