• Авторизация


How To Test Your React Apps With The React Testing Library 03-07-2020 15:30 к комментариям - к полной версии - понравилось!


Today, we’ll briefly discuss why it’s important to write automated tests for any software project, and shed light on some of the common types of automated testing. We’ll build a to-do list app by following the Test-Driven Development (TDD) approach. I’ll show you how to write both unit and functional tests, and in the process, explain what code mocks are by mocking a few libraries. I’ll be using a combination of RTL and Jest — both of which come pre-installed in any new project created with Create-React-App (CRA).

https://www.smashingmagazine.com/2020/07/react-apps-testing-library/

вверх^ к полной версии понравилось! в evernote


Вы сейчас не можете прокомментировать это сообщение.

Дневник How To Test Your React Apps With The React Testing Library | rss_smashmagazine - Articles on Smashing Magazine — For Web Designers And Developers | Лента друзей rss_smashmagazine / Полная версия Добавить в друзья Страницы: раньше»