Using Jest and Testing Library with React Native Part I: Setting Up

Justin Leach Articles, Development Technologies & Tools, JavaScript, React, React Native, Testing, Testing React Native Series, Tutorial 1 Comment

Attention: The following article was published over 4 years ago, and the information provided may be aged or outdated. Please keep that in mind as you read the post.

Unit testing allows developers to test code that they write. One of the main goals of unit testing is to catch bugs earlier by running the test(s) locally or through a process. For developers who may not have worked on the code, a unit test can also give them an idea of what the code should be doing when it executes.

In this series of 8 articles, we will go over setting up and testing React Native with Jest and Testing Library. We’ll learn how to test text, hidden elements, buttons, styles, and functionality.

Seriers Outline:

5 1 vote
Article Rating
Subscribe
Notify of
guest
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments