|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/automated-testing-using-supertest-and-jest/
课程评论:没有评论
Coursera 课程:使用 Supertest 和 Jest 进行自动化测试 本课程是为后端开发人员量身打造,旨在帮助您掌握 ExpressJS 应用程序的自动化测试。课程内容源于讲师在寻找详细且精炼的 ExpressJS 自动化测试课程方面的实践经验。 **课程亮点:** * **真实案例实践:** 提供真实的电商应用后端代码,通过实际操作帮助您深入理解自动化测试。 * **由浅入深:** 您将从设置 MongoDB 数据库、连接应用开始,逐步学习使用 Postman 验证 API,最终使用 Supertest 和 Jest 编写 API 测试用例和测试套件。 * **涵盖实际需求:** 特别关注了需要授权令牌(tokens)的 API 测试,这是现实世界应用开发中的常见场景。 * **为面试和职业发展助力:** 课程内容旨在帮助您在面试和招聘任务中脱颖而出,同时提升您编写和维护高质量代码的能力,给雇主留下深刻印象。 * **简洁高效:** 课程精炼,专注于为您提供编写应用程序测试套件的实用工具。 **课程目标:** * 为 ExpressJS API 设置完整的测试套件。 * 熟练使用 Supertest 和 Jest 进行 API 测试。 * 掌握处理需要授权的 API 的测试方法。 * 提升在面试和工作中展示代码质量的能力。 无论您是准备面试,寻求职业发展,还是希望提升代码质量,本课程都将为您提供宝贵的实践经验和强大的工具。
Brand new course that was created out of my personal experience looking for a detailed and short course on automated testing in ExpressJS applications. Preparing for interviews and solving recruitment tasks for your next job have never been easier as this course provides real world examples that will support the codes you have written and provide concise examples of how you can write test suites for you code to make it stand out. For any intermediate / senior backend developer role, its expected you have good coding practice including writing test cases for your code. Since most web applications are build off REST APIs, This course have been modelled around expressJS APIs that were built for an e-commerce application. The primary goal of this course is to help software developers set up test suites for their APIs. As said above, for this to be possible, we provide the code to the backend of an expressJS application. You will set up your own mongoDB database and connect the application to the database. Afterwards, we validated the APIs using postman. Thereafter, we use Supertest and Jest to test this APIs and create test suites. We also made sure we handle tests for APIs that need authorization tokens as this is the situation with real-world applications that you will be building or working on. Once again, the course is concise and provides you with the tools to write test suites for your application. it gives you opportunity to standout during recruitment processes and also provides you with the tools to impress your employers while write good code and maintain them