I want to start adding test to our project but I don't know where to start, I was thinking to test using jest and enzyme, but I have heard good things about React Testing Library, what do you recommend me?
Hi there! If you're using React, I'd recommend RTL with Jest. Here's a good tutorial that walks through how to get started:
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I want to start adding test to our project but I don't know where to start, I was thinking to test using jest and enzyme, but I have heard good things about React Testing Library, what do you recommend me?
Hi there! If you're using React, I'd recommend RTL with Jest. Here's a good tutorial that walks through how to get started:
Setting up Jest + React-Testing-Library
aromanarguello γ» Jun 29 γ» 8 min read