大多数软件工程师都会同意干净的代码比凌乱的代码更容易维护,但它到底是什么样子的,如何清理凌乱的代码?在本课程中,Jon Peck 展示了如何在您的 Node.js 应用程序中衡量质量、实施测试和衡量代码覆盖率,并使用一个完整但有问题的餐厅预订应用程序来说明这些概念。Jon 首先回顾了 JavaScript 基础知识以及测试和代码质量概念。然后他解释了如何使用 linter 查找可疑代码;探索不同的测试框架及其组件;并展示了如何使用测试替身隔离测试代码,然后使用Spy和模拟进行验证。Jon 通过展示如何在整个代码库中生成代码健康报告来结束课程。
Skill Level: Intermediate | Genre: eLearning | Language: English +srt | Duration: 4h 21m | Size: 1 GB
Most software engineers would agree that clean code is easier to maintain than messy code, but what exactly does that look like, and how do go about cleaning up messy code? In this course, Jon Peck shows how to measure quality, implement testing, and measure code coverage in your Node.js apps, using a complete but buggy restaurant booking application to illustrate the concepts. Jon first reviews JavaScript fundamentals and testing and code quality concepts. He then explains how to use linters to find suspicious code; explores different testing frameworks and their components; and shows how to isolate your code for testing using test doubles, then verify with spies and mocks. Jon wraps up the course by showing how to generate reports on code health across your entire codebase. Along the way, he provides challenge and solution videos so you can test your knowledge of each section before moving on.
猜你喜欢
本站资源仅供下载者学习技术,版权归资源原作者所有,请在下载后24小时之内自觉删除。
本站资源仅供下载者学习IT编程开发技术,请遵守国家法律法规,严禁用于非法用途。
若作商业用途,请购买正版,由于未及时购买正版发生的侵权行为,与本站无关。
如您是版权方,本站源码有侵犯到您的权益,请邮件联系331752841@qq.com 删除,我们将及时处理!