Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Sub-second Integration Tests for Your RN App and Bluetooth Device

Callstack Engineers via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Reviews

Start your review of Sub-second Integration Tests for Your RN App and Bluetooth Device

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.