|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/tdd-fundamentals-in-csharp/
课程评论:没有评论
**Coursera 课程总结:C# 上的测试驱动开发 (TDD) 基础** **课程概述:** 本课程是一项针对 C# 开发者,旨在教授测试驱动开发 (TDD) 这一重要软件开发实践的进阶培训。TDD 是一种将自动化测试作为主要开发工具的流程,测试先行,旨在编写高质量、可靠且无 bug 的代码。在当今的 .NET 开发社区,TDD 已被广泛认可为 Web 应用、面向服务架构以及桌面应用程序开发中的必备技能。 本课程采用循序渐进的 C# 编程方式,通过将理论与大量的编码练习相结合,帮助学习者快速掌握 TDD 的核心概念和实践。课程的教学方法经过反复实践和优化,确保学习者能够高效地学习和应用 TDD。 **学习目标:** * **理解 TDD 的本质及实践价值:** 了解什么是 TDD,以及为什么在软件开发中采用 TDD。 * **掌握测试的结构与编写:** 理解单元测试的组成部分,并学会如何编写高质量的单元测试。 * **熟练运用 TDD 开发流程:** 掌握 TDD 的开发节奏,并学习应对开发过程中可能遇到的挑战的工具和技巧。 * **理解设计与 TDD 的协同作用:** 学习高层设计意识如何与 TDD 相辅相成,以实现卓越的设计。 * **编写可维护的单元测试:** 能够为较为复杂的解决方案编写易于维护的单元测试。 * **实践需求驱动的开发:** 掌握如何从用户故事或用例出发,编写相应的测试和代码。 * **利用测试替身 (Test Doubles) 编写松耦合代码:** 学习如何使用恰当的测试替身来编写更加松耦合的代码。 * **掌握 Mocking 框架的应用:** 学会如何使用合适的 Mocking 框架来动态创建测试替身。
TDD stands for Test-Driven Development. It is a software development process for developing an application by using automated tests as the primary tool for development. These tests are written before coding and are the primary unit of quality ensuring that coding is correct, reliable and bug-free.TDD has become widely accepted by the.NET developer community as an essential skill in today's world of web applications, service-oriented architectures and desktop application development. The TDD Fundamentals in C# course is a step-by-step C# programme designed to make you a more proficient C# Developer by teaching you the skill of TDD. It covers the fundamentals of Test-Driven Development enabling you to get up to speed quickly within the practice of TDD in C#. The TDD Fundamentals in C# course is very hands-on: you will spend your time learning the practice of Test Driven Development through a sequence of coding exercises interspersed with theory. This course has been run in person dozens of times with a variety of groups, and through this process we have honed the process of teaching and learning TDD.Target outcomes:Understand what TDD is and why you would want to practice itUnderstand the anatomy of a test, and how to write good unit tests Understand and use the flow of Test-Driven Development and to use a toolbox of tools and techniques on what to do if they are not experiencing this rhythm. Understand how high-level design and TDD work together to achieve great designsWrite Unit Tests for a reasonably complex solution that are maintainable into the future.Take a requirement (User Story/Use Case) and implement the relevant tests and code.Write far more loosely coupled code by using the appropriate Test Doubles.Use the appropriate mocking framework for dynamically creating the appropriate test doubles