Real-World TypeScript Unit Testing

所在平台: Udemy

课程主页: https://www.udemy.com/course/real-world-typescript-unit-testing/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:实际应用中的 TypeScript 单元测试 课程概述:本课程旨在帮助掌握 TypeScript 的开发人员,通过单元测试编写更高质量、更少错误的代码。课程讲师拥有机械工程的学士和硕士学位,在高科技行业拥有超过20年的软件开发经验以及丰富的教学经历,能够被信赖。课程内容涵盖了单元测试的各个方面,并使用实际应用的示例,涉及 TypeScript、Vitest 和 Jest 等技术。 在课程中,学员将学习: - 逻辑代码的单元测试 - 涉及副作用(如访问网络)的代码单元测试 - 使用其他模块的模块的单元测试 - 模拟(Mocks) - 定时器的单元测试 - 用户界面的单元测试 - 服务器端代码的单元测试 - Jsdom、测试库、React 测试库的使用 - 使用 Jest 进行 TypeScript 和 ES 模块的非平凡设置 - Jest 的新竞争者,如 Vitest - 覆盖测试 本课程通过全面的学习材料帮助学员深入理解单元测试的复杂性,包括: - 每节课后的测验 - 每个编码部分后的编码练习 - 所有讲座的 PDF 文件 - 包含所有教学材料的词汇表 PDF 文件 学习本课程不仅是观看视频课程,还包含其他重要的学习资源,确保学员能够全面掌握单元测试的技能。

课程评论(0条)

课程详情

You're here because you know typescript and want to write better code with fewer bugs using unit tests.I am here because I can help you accomplish your mission. I have B.s.c + M.s.c in mechanical engineering. I have been making software applications for over 20 years in the Hi-Tec industry and have much teaching experience. You can trust me and my teaching methods. I have learned many technologies in the past (check my LinkedIn profile), and I know exactly what is needed to learn and how.In this course, I teach you everything you need about unit tests, and I use a real-world system, typescript, vitest, and jest.The task of writing a unit test is not simple because there are many moving parts:- Unit test of logic code- Unit test of code with side effects like accessing the web - Unit test of a module that uses another module - Mocks - Timers- Unit test of UI- Unit test of code that runs on the server - Jsdom, testing library, react testing library- Some tools like jest need a nontrivial setup to work with typescript and ES module- New competitor to jest, e.g., vitest- Coverage testThis ocean is very hard to swim without first learning it properly, and this is done in this course.Learning in this course is not just video lessons; there are other important learning materials that most courses do not provide as a whole:- Quiz after EVERY lesson- Coding exercise at the end of EVERY coding section- pdf file with all the lectures- pdf file with a dictionary of all the material that I teach in this course

课程标签

0人关注该课程

主题相关的课程