Swift TDD - Test Driven Development for Swift no more bugs

所在平台: Udemy

课程主页: https://www.udemy.com/course/tdd-swift/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:Swift TDD - Swift 的测试驱动开发,告别 Bugs 课程概述:在开发过程中,您是否曾经有过修复一个 BUG 却引发两个新问题的感觉?这可能是因为您没有采用测试驱动开发(TDD)的方法。如果您是 Swift 开发者并希望在该领域做到最好,这门课程将非常适合您。测试驱动开发是一项每位专业人士都必备的技能,尤其是那些厌倦了“狩猎” BUG 的人。即使是最优秀的程序员也会写出包含 BUG 的代码,写出完美代码几乎是不可能的。更何况,今天有效的代码在明天可能就无法使用,框架和 API 每年都在变化,iOS 也在不断更新。那么,我们如何确定旧代码是否与新版本兼容?如果不兼容,又是哪个部分问题呢?您可以看到,事先进行一些工作可以让未来的生活变得更加轻松。 TDD 的核心理念是从测试阶段开始开发,确保你代码的所有相关部分都经过测试。自动化测试能够帮助确保您刚刚做出的新更改没有在旧功能中引入新的 BUG。您可能会问,TDD 的重要性到底有多大?直到 XCode 5,TDD 仍然是创建应用时的一个可选框,但在 XCode 6 中,苹果决定所有应用都应该具备 TDD,因此会自动为您生成单元测试(即使您不需要,这对您来说是个好事)。现在投入几小时的学习时间,将来在应用开发中节省的将是几分钟,更会避免因隐藏的 BUG 导致的客户投诉、老板长篇大论的训斥,或者因您为母亲母亲节制作的应用崩溃而受到的责备。

课程评论(0条)

课程详情

Did you ever had that feeling that you fix one bug and it creates another two? Well it maybe because you are and you don't know because you are not adopting TDD If you are already a Swift developer and want to be the best in the field this course is for you, Test Driven Development also known as TDD is a must have skill for any serious professional or anyone tired of expend precious time "hunting" for bugs. Even the best programmer write bug codes, it is almost impossible to write the perfect code, even than, what work today may not work tomorrow, frameworks change, APIs change even the iOS every year we have a new one. Now how to find out if your old code is compatible with this new version? And if not what part isn't? Can you see how a little work before hand can make life much easier in the future? TDD the concept of start development from the test phase, ensure that all the relevant parts of your code is tested, running the automated test ensure that the new changes you just made didn't create a bug in the old functions. You may ask, but how really important is TDD? Until XCode 5 TDD was a optional check box when creating an app, in XCode 6 Apple decide that all apps should have TDD so they auto create the Unit tests for you (even if you didn't want to, good on you Apple). Invest few hours now and few minutes while doing your applications and I promise you that you will save a lot of time and headaches in a short future, be it from clients that find that hidden bug, from your boss that give you long speeches every time one of your items get reopened or from your mother because that app you made to her for mothers day is crashing.

课程标签

0人关注该课程

主题相关的课程