最新消息:请大家多多支持

Advanced React Testing: Redux Saga and React Router

其他教程 dsgsd 234浏览 0评论


Genre: eLearning | MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz
Language: English | Size: 3.60 GB | Duration: 6h 45m
Level-up your React testing skills to include Redux Saga, React Router and Auth-Protected Routes!

What you’ll learn
Test Redux Sagas with redux-saga-test-plan integration and unit tests
Create a custom React Testing Library `render` method for Redux store and React Router history
Test React Router navigation, including routes with URL params and query params
Test auth-protected routes in React apps that use React Router
Use Mock Service Worker to mock network responses during tests
Use Jest’s .each() method to parametrize tests (run the same test multiple times with different data)

Description
Are you a developer who’s learned the basics of React testing and wants to move to the next level? This course dives deep into React testing for sophisticated apps.

Test Redux Saga, React Router or Both

The Redux Saga and React Router sections of the course are completely separate. You can choose which technology to start with, and skip the sections for technologies that aren’t relevant to your app.

Test an Existing App

The app for the course is already built, so you’ll be testing an existing app that utilizes Redux Saga and React Router (with Auth-Protected Routes). For an added bit of fun, the app is for a music venue that sells tickets to shows for fake bands, complete with fake band names, plus randomized band descriptions and photos.

redux-saga-test-plan

Test Redux Sagas with the redux-saga-test-plan library, a powerful module that allows flexible integration testing and precise unit testing. The course covers the `provide()` method for static and dynamic effect mocking.

React Router

The course creates a custom `render` method for Testing Library to write tests that can assert either on page behavior or the React Router `history` object. Tested routes include URL and query params, and the flow for auth-protected routes (including removing the sign-in page from the history). Mock Service Worker provides mocked data for network calls to the server.

Jest’s test.each()

In both the Redux Saga sections and the React Router sections, the course teaches Jest’s test.each() method for parametrizing tests (that is running the same test multiple times with different data).

TypeScript

Following modern JavaScript best practices, all course code is typed via TypeScript.

Proven Instructor

The instructor for this course has been writing courses for Udemy since 2018, and has a great track record of courses that are clear and easy to follow. She loves interacting with students via Q&A and has a calm, supportive teaching style.

Who this course is for:
Experienced React developers who want to expand their testing toolbox


Password/解压密码www.tbtos.com

Download rapidgator
https://rapidgator.net/file/14e0881012dc7a9d03f0e9f34b696411/0913_23.z01.html
https://rapidgator.net/file/ba70ce897f5db2cca5c78b58213da86a/0913_23.z02.html
https://rapidgator.net/file/11bf9206bf4f7274f0eec8b690ff1868/0913_23.z03.html
https://rapidgator.net/file/154a6a70d994927eea9307e722a3d499/0913_23.zip.html

Download nitroflare
https://nitro.download/view/30D1E5810324846/0913_23.z01
https://nitro.download/view/DDF8F5FDC746425/0913_23.z02
https://nitro.download/view/A0CCBC8DB64D171/0913_23.z03
https://nitro.download/view/3E4A140F4FC37D8/0913_23.zip

资源下载此资源仅限VIP下载,请先

转载请注明:0daytown » Advanced React Testing: Redux Saga and React Router

您必须 登录 才能发表评论!