DEV Community

Bruno Antunes
Bruno Antunes

Posted on

6

(Unit/Integration) Testing React.js Forms with React Testing Library

In this video we will learn how to test React Forms using React Testing Library. Our React forms can be implemented using formik or react hook form and our tests will work for both libraries.

The tests will take no assumption on the "library" used, so independently of you using react hook form or formik, those tests will work in both libraries.

GitHub repository: https://github.com/bmvantunes/youtube-react-testing-video8-forms-react-testing-library
All the videos in this series (React.js Testing Tutorial): https://www.youtube.com/playlist?list=PLYSZyzpwBEWTBdbfStjqJSGaulqcHoNkT

Top comments (1)

Collapse
 
shakibdev profile image
Md. Shakib Hassan • Edited

Nicely explained!

SurveyJS custom survey software

Simplify data collection in your JS app with a fully integrated form management platform. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more. Integrates with any backend system, giving you full control over your data and no user limits.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay