RUVIDEO
Поделитесь видео 🙏

Intro to React Testing [Jest and React Testing Library Tutorial] смотреть онлайн

Chris gives an introduction to React Testing and walks through a Jest and React Testing Library tutorial. Testing is a critical part of the React development process. There is no shortage of different ways to test our apps. This talk will give an intro to general testing principles and tools before diving into the specifics of testing React components using Jest and React Testing Library, the tooling recommended by the React core team.

Guest presenter, Chris Schmitz, Senior Software Engineer at Handshake, will teach you how to get started with Jest and the React Testing Library.

? Jest Documentation
https://jestjs.io/docs/en/tutorial-react

? React Testing Library
https://testing-library.com/docs/react-testing-library/intro

Thanks to Maciek Sitkowski for sharing these CodeSandboxes below with us for you to learn with!
Maciek's Profile - https://www.youtube.com/channel/UC1rKQAm9EWiHtI4ADYusG0w

? CodeSandboxes
0-starting-file
https://codesandbox.io/s/0-starting-file-zm2zt

1-rendering-components-for-testing
https://codesandbox.io/s/1-rendering-components-for-testing-y69g5

2-use-dom-testing-library-for-querying-the-dom:
https://codesandbox.io/s/2-use-dom-testing-library-for-querying-the-dom-bzh71

3-rendering-and-testing-with-react-testing-library
https://codesandbox.io/s/3-rendering-and-testing-with-react-testing-library-0kvor

4-simulating-user-interaction
https://codesandbox.io/s/4-simulating-user-interaction-jg46k

5-testing-async-code
https://codesandbox.io/s/5-testing-async-code-4wtsi


Segments:
0:00 - Intro and Agenda
2:23 - What is a React Test?
3:53 - Why Write Tests?
4:13 - Documentation
5:17 - Consistency
6:10 - Comfort and Confidence in Testing
7:29 - Productivity
8:16 - Types of Tests
10:14 - React Component Tests
12:36 - A Jest Test
15:10 - Walkthrough Begins
18:53 - Rendering Components for Testing
23:54 - Use DOM Testing Library for Querying the DOM
31:14 - Rendering and Testing with React Testing Library
35:11 - Simulating User Interaction
41:45 - Testing Async Code
49:00 - More Resources to Explore

================================
Interested in Working with Headway?
================================

Book a free private call where we'll listen to your problems, identify opportunities for your business, and show you exactly how Headway's unique approach and proven strategies can help you reach your goals.

Schedule a free consultation:
https://headway.io/free-consultation

================================

? What is ReactJS Green Bay?
ReactJS Green Bay is a monthly series for front-end developers that use React and JavaScript to build products. Learn about new tools, better workflows, and discuss ideas with a growing community!

? Upcoming events
https://bit.ly/react-js-events

? Recordings from past events
https://bit.ly/react-js-recordings


?Listen to our podcasts:

?Seaworthy - A podcast about building successful software
http://bit.ly/swthy-pdcst

⚓️Even-Keeled - The craft of creating software and effective development teams
http://bit.ly/even-keeled-podcast


Connect with us:
? Instagram
https://www.instagram.com/headwayio

? Twitter
https://twitter.com/headwayio

➡️LinkedIn
https://bit.ly/follow-headway-linkedin

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Intro to React Testing [Jest and React Testing Library Tutorial]» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.