开始时间: 12/21/2023 持续时间: 未知
所在平台: Coursera |
课程主页: https://www.coursera.org/learn/a-practical-introduction-to-test-driven-development
课程评论:没有评论
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
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.
要成为一名熟练的开发人员,您需要在将代码投入生产之前牢牢掌握测试编写。 在本课程中,我们将在第一周通过编写和实施测试来亲身体验测试驱动开发。 TDD 从良好的单元测试开始,所以我们将从那里开始。 主题还将涵盖将用户规范转换为单元测试,应用 Red-Green-Refactor 口头禅,以及在 python 中使用 unittest.mock 模块应用模拟。 完成后,您将在开发前涵盖 TDD 的所有步骤