Thank you for sending your enquiry! One of our team members will contact you shortly.
Thank you for sending your booking! One of our team members will contact you shortly.
课程大纲
介绍
- Unit Testing 工作原理
Java脚本单元测试框架概述
- 茉莉花,摩卡,Jest,柴,QUnit
- 单元测试用例
设置测试环境
- 下载和安装库
- 安装和配置 IDE
- 设置示例应用程序
编写第一个单元测试
- 设置测试
- 编写测试定义
- 使用嵌套作用域
- 创建断言
- 运行单元测试
调试单元测试
- 单步执行代码
- 创建断点
- 设置调试任务
扩展单元测试
- 编写复杂的 Javascript 类
- 编写存根和模拟
- 创建测试套件
实现 TDD 和 BDD
- 创建自动化规范
- 与用户和测试人员协作
编写更多测试
- 测试 Node.js
- HTTP 终结点单元测试
- 测试 REST API
- 编写集成测试
- 测试 React 组件(可选)
故障 排除
总结和结论
要求
- 对单元测试的一般了解
- Javascript 编程经验
- 使用 Node.js 的经验
7 小时
客户评论 (5)
The course, The Trainer
Novat Adam - Tanzania Revenue Authority
课程 - Unit Testing with Javascript
It was very relevant to what I am currently doing at work. I learn very essentials skills.
Lindokuhle Mtshali
课程 - Unit Testing with Javascript
The knowledge sharing style was pretty good
Zandile Langa
课程 - Unit Testing with Javascript
The interaction with the audience; sense of humour, engagement, real world examples, repetition of concepts for understanding and learning
Megan Trow - BMW
课程 - Unit Testing with Javascript
Practical time was fun.