Easy Test Driven Development with TypeScript and Vitest

所在平台: Udemy

课程主页: https://www.udemy.com/course/easy-test-driven-development-with-typescript-and-vitest/

课程评论:没有评论

第一个写评论        关注课程

课程简介

Coursera 课程:TypeScript 和 Vitest 轻松实现测试驱动开发 这门课程旨在帮助您从新手快速成长为熟练开发者,掌握真实的测试驱动开发(TDD)实践。通过课程,您将学习如何充分利用 TDD 的优势,加速并确保开发过程的稳健性。 课程由一位专业的软件工程师主讲,结合实用案例,让您在软件开发中轻松编写测试,实现代码质量的提升,同时不减慢开发周期。 本课程的重点在于将 TDD 置于实际开发背景中,而非仅仅讲解测试工具的语法。我们将学习在现实场景下何时运用特定的 TDD 技术,将理论与实践价值相结合。 课程适合希望在工作流程中增加更多自动化测试的学习者。我们将学习如何带着目标和风格进行自动化测试,避免常见陷阱,并确保我们测试的是正确的内容。 主要学习主题包括: * 为何我们需要测试 * 测试基础:从设置到断言 * 红/绿/重构(Red/Green/Refactor)循环 * 代码覆盖率 * 模拟(Mocks)和测试替身(Test Doubles) * 测试依赖于 API 的代码 * 保持对测试代码的控制 * 用户界面的先行测试(Test First) 虽然课程中的示例使用了 Vitest,但这些方法同样适用于 Jest 框架中的相应工具。

课程评论(0条)

课程详情

Accelerate your journey from Noob to Pro with real-world Test Driven Development. See how to gain all the benefits of Test Driven Development to speed up and secure your development process.Led by a professional software engineer, using practical examples, this course will make it easy to write tests during software development, and get better code, without slowing down your development cycle.Rather than walking through the syntax of the test tooling, this course is intended to put Test Driven Development in context. We will discover when to use certain techniques based on realistic scenarios. This connects the theory with the value of applying it.This is aimed at people who need to add more test automation to their workflow. We will see how to do this with purpose and style. We will learn how to avoid pitfalls and make sure we're testing the right things. Topics include:Why we need testsThe basics of tests, from setup through to assertionsRed/Green/RefactorCode coverageMocks and Test DoublesTesting code that depends on APIsKeeping control of test codeTest first with user interfacesThough the examples use Vitest, they can also be adapted to their equivalents in the Jest framework.

课程标签

0人关注该课程

主题相关的课程