|
所在平台: Coursera |
课程主页: https://www.coursera.org/learn/a-practical-introduction-to-test-driven-development
课程评论:没有评论
课程名称:实践中的测试驱动开发入门 课程概述:成为一名优秀的开发者,必须在将代码投入生产之前,掌握良好的测试编写技能。本课程将通过从第一周开始编写和实施测试,深入探讨测试驱动开发(TDD)。TDD从良好的单元测试开始,因此我们将从这一点入手。课程内容还包括将用户规格转换为单元测试、应用红-绿-重构(Red-Green-Refactor)法则,以及在Python中使用unittest.mock模块应用模拟(mocks)。完成本课程后,您将掌握开发前TDD的所有步骤。 课程大纲: - 模块名称:自动化单元测试基础 描述:测试驱动开发始于测试,而良好的TDD始于良好的单元测试。 - 模块名称:单元测试最佳实践 描述:在本模块中,我们将探索编写单元测试的最佳实践。 - 模块名称:为TDD编写测试 描述:在本模块中,我们将把用户规格转换为单元测试,包括开发前TDD的所有步骤。 - 模块名称:红-绿-重构循环的实践 描述:在本模块中,我们将发现应用单元测试红-绿-重构法则的实践方法。 - 模块名称:模拟的力量 描述:在本模块中,我们将学习如何在Python中使用unittest.mock模块进行模拟。
Name:Automated Unit Testing Basics
Description:Test-Driven Development starts with testing, and good TDD starts with good unit tests.
Name:Unit Testing best practices
Description:In this module we will discover the best practices for writing unit tests.
Name:Writing Tests for TDD
Description:In this module, we'll be translating user specs into unit tests, including all the steps of TDD before development.
Name:The Red-Green-Refactor cycle in practice
Description:In this module we'll discover a hands on approach to applying the Red-Green-Refactor mantra of unit testing.
Name:The power of mocks
Description:In this module we'll learn how to use mocks in python with the unittest.mock module.
To be a proficient developer you need to have a solid grasp of test writing before putting code into production. In this course, we will take a hands-on look at Test-Driven Development by writing and implementing tests as soon as week one. TDD starts with good unit tests, so we will start there. Topics will also cover translating user specs into unit tests, applying the Red-Green-Refactor mantra, and applying mocks in python with the unittest.mock module. Once finished, you will have covered all the steps of TDD before development