Learn To

Test React Native Apps with React Native Testing Library

Learn how to use React Native Testing Library to quickly and efficiently write tests for your React Native app!

Last Updated: Feb 22nd, 2022

When we test our the components and functions of our app - how do we want to do it? The same way a user would use them!

That's where React Native Testing Library comes in! It gives us the capability to test the various components of our application in the same way a user would actually use them by allowing us to press a button, type into inputs, and more.

It integrates perfectly with Jest and is the first library that makes me want to write tests for my apps. I can't wait to share the library with you!

Great course! Spencer's explanations are very clear, concise and to the point. Video playback quality is also good, which is a big reason I chose this course over some courses on Udemy.

Joseph K.

What's Inside?

Tests are an easy to postpone task, especially if configuring and using your testing library is a chore. This course will show you different ways to use React Native Testing Library to easily write tests for your React Native app.

It covers topics like:

  • Configuring Jest and React Native Testing Library in React Native
  • How to setup automatic snapshot tests
  • How to target different elements of a component
  • Practical unit testing examples
  • Mocking libraries
  • Integration testing
  • Working with remote requests in your tests

Module 1

Lessons

Great course. Not quite for beginners, but perfect for intermediate programmers. Definitely learned a lot. Would recommend to anyone wanting to start with RN.

Jenca

Extended Learning

Full Library Access

React Native School

$15/ month
  • Instant access to this entire course

  • Access to all of our React Native courses

  • Premium support

  • Source code for dozens of React Native apps

  • Private Slack community

Test React Native Apps with React Native Testing Library

$30
  • Instant access

  • Complete source code

  • Lifetime access to this course

Excellent course, very informative, especially for a beginner like me. I would love to see more of these type of courses.

Rishabh S.