Sub-second Integration Tests for Your RN App and Bluetooth Device
Offered By: Callstack Engineers via YouTube
Course Description
Overview
Discover how to implement sub-second integration tests for React Native apps with Bluetooth device integration in this React Native EU 2021 conference talk. Learn about the "mock recording" technique for fast and robust testing, explore an open-source tool developed in collaboration with SOUNDBOKS, and see a live demonstration of its capabilities. Gain insights into the methodology, tool usage, and the benefits of this approach for app development. Understand the architecture behind recording Bluetooth traffic, writing app tests using Jest, and debugging recordings. Explore the balance between end-to-end testing and unit testing, and learn how to handle various challenges in Bluetooth app testing.
Syllabus
Intro
Agenda
Test automation at SOUNDBOKS
SOUNDBOKS end-to-end testing
When to use end to end testing vs unit testing?
Unit testing a React Native/BLE app
Mock recording for true integration testing
Record traffic
Test the app
Sample recording
Write app tests using Jest
Write the recorder app
Architecture Overview
Architecture running the app
Architecture recording traffic
Time for questions!
How to handle different developer devices?
How to handle varying values?
Can we still do manual mocking?
How to debug recordings?
Taught by
Callstack Engineers
Related Courses
Introduction to Unit Testing in Jest - The FundamentalsCoursera Project Network via Coursera The Complete Node.js Developer Course (3rd Edition)
Udemy Building Your First Lightning Web Component (LWC) for Salesforce
Pluralsight React Native Ecosystem and Workflow
LinkedIn Learning The complete guide to testing javascript & node applications
Udemy