|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/test-driven-development-in-ios-using-swift/
课程评论:没有评论
课程名称:使用Swift进行iOS的测试驱动开发 课程概述: 作为软件开发人员,您必须时刻追求编写高质量的代码,并确保今后编写的任何代码都不会破坏现有功能。测试驱动开发(TDD)为您提供了一种优秀的软件实施方式,它提供了安全网,使您可以自信地进行更改。在本课程中,您将学习如何在iOS中应用测试驱动开发的原则,使用Swift语言进行编程。 课程内容: 1. 理解测试驱动开发:您将了解测试驱动开发的基本概念,学习测试的重要性,何时编写单元测试以及关于软件开发中测试的误解。 2. 测试类型:您将学习不同类型的测试,包括单元测试、用户界面测试、集成测试、验收测试和性能测试之间的区别。 3. 编写您的第一个单元测试:您将实现一个简单的小费计算器并使用测试驱动开发的原则编写代码,学习如何利用测试驱动开发来设计应用程序。 4. 编写UI测试:您将学习如何编写用户界面测试,自动化用户界面并对屏幕上的元素执行操作,同时学习如何使用PageObject模式重用屏幕元素。 5. Mocking(模拟):您将了解模拟的概念,学习如何创建登录服务的模拟版本,让用户在无需真实登录服务和网络连接的情况下继续测试。 6. 端到端测试:您将学习如何进行端到端集成测试,调用真实网络服务以确保应用程序的所有组件协同正常工作。 7. 项目实践 - 测验应用:最后,您将通过实现一个基于SwiftUI的测验应用程序来进行技能测试,先测试核心领域,然后编写用户界面测试。 适合人群: 本课程适合希望学习基于测试驱动开发原则编写优秀软件的开发人员。感兴趣于使用单元测试学习应用程序领域的开发人员。希望通过测试驱动开发了解如何架构应用程序的开发人员。希望提升技能的开发人员。 我在创建这门课程时非常开心,希望您也能享受其中!谢谢,开动编码吧!
As a software developer you must always aspire to write quality code. You must also make sure that any future code you write does not break existing features. Test Driven Development provides you with a great way to implement software. It provides a safety net, which allows you to make changes with confidence. In this course, you will learn how to apply the principles of test driven development in iOS using Swift language.Let's check out the contents of the course:Understanding Test Driven DevelopmentIn this section you will learn about the concepts behind Test Driven Development. You will learn why testing is important, when to write unit tests and even misconceptions behind testing in software development.Types of TestingIn this section you will learn about types of testing. You will learn the differences between unit testing, user interface testing, integration testing, acceptance testing and performance testing.Writing Your First Unit TestIn this section you will learn how to write your first unit test. We will implement a simple Tip Calculator and write your code using the principles of test driven development. You will learn how using test driven development allows you to architect your app.Writing UI TestsIn this section you will learn how to write user interface tests. You will learn how to automate your user interface and perform actions on the elements on the screen. You will also learn how to use the PageObject pattern to reuse elements from the screen.MockingIn this section you will learn the concept of mocking. You will learn how to create a mocked version of the login service, which will allow the user to continue with their tests without having a dependency on a real login service and network connection.End to End TestingIn this section you will learn how to perform end to end integration testing. You will learn how to invoke a real network service and make sure that all components of the app are working correctly together.Project Time - Quiz AppFinally, you are going to put all your skills to test by implementing a Quiz App in SwiftUI using the principles of test driven development. You will start by testing the core domain and then move on to write user interface tests.Who is this course for?Developers interested in learning about writing great software based on the principles of test driven development.Developers interested in learning about the application domain using unit tests.Developers who want to educate themselves on how to architect an application using test driven development.Developers who want to take their skills to the next levelI had so much fun in creating this course and I really hope you enjoy it too.Thanks and let's start coding!