Testing Next. js Apps with Jest, Testing Library and Cypress

所在平台: Udemy

课程主页: https://www.udemy.com/course/nextjs-testing/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**Coursera 课程总结:使用 Jest、Testing Library 和 Cypress 测试 Next.js 应用** 本课程旨在帮助您全面掌握 Next.js 应用的测试技巧,为您提供构建可信赖、无重大 bug 应用的信心。您将学习如何对 Next.js 应用的各个层面进行测试,包括: * **UI 单元测试** * **API 单元测试** * **Next.js 路由测试** * **缓存页面测试** * **数据更新测试** (包括缓存更新和 SWR 刷新间隔) * **认证流程测试** * **端到端 (E2E) 测试** 课程将涵盖一系列强大的测试工具和技术,包括: * **Jest** * **React Testing Library** * **Mock Service Worker** * **Cypress** * **Cypress Testing Library** 您还将深入学习多种测试策略,如: * **使用测试数据库** * **管理环境变量** * **Jest 模块模拟** * **理解测试的定义和权衡** (帮助您做出明智的测试决策) 课程设计注重实践,包含“代码测验”来巩固所学概念,以及选择题来加深对理论知识的理解。课程将围绕一个预先构建的 Next.js 应用“Popular Concert Venue”进行教学,让您可以专注于测试本身。 讲师在 Udemy 拥有良好的声誉,以清晰的讲解、积极及时的问答互动、内容的精炼性以及实用的练习活动而受到好评。他的课程获得了学生的高度评价,常被誉为“最好”、“超出预期”的测试课程。

课程评论(0条)

课程详情

Learn how to test your Next.js app from top to bottom! Tests provide confidence that your Next.js app won't be released with embarrassing, costly bugs. Employers need developers who know how to write tests!Comprehensive Next.js App TestingThis course teaches how to test all aspects of a Next.js application, including:UI unit testsAPI unit testsNext.js routesCached pagesData updates (both to the cache and via SWR refresh interval)AuthenticationEnd-to-End tests for a complete user flowThe course uses a cross-section of testing technologies, featuring: JestReact Testing LibraryMock Service WorkerCypressCypress Testing LibraryYou'll also learn a wide array of testing techniques, such as:Using a test databaseEnvironment variablesJest module mockingTesting definitions and tradeoffs (not necessarily a technique, but helpful in making decisions about what to test!)Practice what you've learnedThe course includes "code quizzes" - challenges to write code based on the concepts you've just learned. For more concept-heavy sections (such as testing definitions and guidelines) the course provides multiple-choice quizzes.Test a pre-written appA Next.js app has already been written for the course, so the course content can focus on testing. The course tests a popular concert venue app called.Popular Concert Venue (the owners were apparently running low on creativity when they named the place). The app features shows from bands such as The Joyous Nun Riot and Avalanche of Cheese. Randomized, mad-libs style band descriptions and images add to the fun. Proven InstructorThe instructor is a proven Udemy veteran, with reputation for clear explanations, Q & A responsiveness, conciseness, and useful practice activities. Here are some reviews from the instructor's other courses: A great course, probably the best testing course I've ever taken.After watching other courses on the same topic, this is the first one that I'm actually excited to dig into.This course exceeded all my expectations. It has the right amount between practice and theory. The teacher is amazing and thoughtful and she answers the students.I have taken several courses on Udemy, and this is the best one where the teacher doesnt just lecture, but actually structures the class so that I learn the material.

课程标签

0人关注该课程

主题相关的课程