122 items
Testing Navigation-Dependent Components
Slides / VideoAsserting Element Presence
Code QuizRendering With a Context Provider
Code QuizDetox waitFor Synchronization
Code QuizMocking Network Requests in Tests
Slides / VideoTesting Async Code with async/await
Code QuizAccessibility Queries getByRole
Code QuizgetBy vs queryBy vs findBy
Code QuizQuerying by testID with getByTestId
Code QuizQuerying by Text with getByText
Code QuizRendering with RNTL render
Code QuizFaking Timers with jest.useFakeTimers
Code QuizSpying with jest.spyOn
Code QuizSimulating User Events with fireEvent
Slides / VideoUsing testID for Element Selection
Slides / VideoQuerying Elements in Tests
Slides / VideoRendering Components with render()
Slides / VideoReact Native Testing Library Overview
Slides / VideoMocking Native Modules & Timers
Slides / VideoMocking Functions with jest.fn & Spies
Slides / VideoMocking Modules with jest.mock
Slides / VideoSetup & Teardown: beforeEach, afterEach
Slides / VideoCommon Jest Matchers
Slides / VideoTest Structure: describe, it, expect
Slides / VideoBroken describe Block Syntax
Code QuizOver-Mocking the react-native Module
Code QuizMatcher Not Actually Invoked
Code QuizJest Preset for React Native
Code Quizjest.fn Missing Parentheses
Code QuizComparing Objects with toBe
Code Quizjest.mock Factory Returns Nothing
Code QuizWrong Setup Hook for Reset
Code QuizUnit Testing Functions & Utilities
Slides / VideoSimulators vs Real Devices
FlashcardConfiguring Jest for React Native
Slides / VideoJest as the Default Test Runner
Slides / VideoTesting Pyramid: Unit, Component, E2E
Slides / VideoWhat & What Not to Test
Slides / VideoRunning Tests in CI/CD Pipelines
Slides / VideoTest Coverage Reports & Thresholds
Slides / VideoWriting E2E Test Flows on Device
Slides / VideoMaestro as an E2E Testing Alternative
Slides / VideoEnabling Jest Coverage Reports
Code QuizMocking Fetch in a Test
Code QuizCleaning Up Between Tests
Code QuizDetox Test Structure Basics
Code QuizDetox Tap and Type Actions
Code QuizMocking Navigation Prop
Code QuizDetox Visibility Expectation
Code QuizDetox for End-to-End Testing
Slides / VideoWaiting for Async UI
Code QuizTesting a Custom Hook
Code QuizVerifying a Callback Prop
Code QuizWrapping State Updates in act
Code QuizSnapshot Testing a Component
Code QuizFiring a Press Event
Code QuizSimulating Text Input
Code QuizTesting Components with Providers
Slides / VideoFaking Timers
QuizMaestro E2E Flows
QuizMocking Modules with jest.mock
QuizJest Config for React Native
QuizTesting Pyramid Strategy
QuizRunning Tests in CI
QuizHandling act() Warnings
QuizUnit Testing Pure Functions
QuizQuerying by testID and Text
QuizMocking Native Modules
QuizTesting with Navigation
QuizSetup and Teardown Hooks
QuizTest Structure Basics
QuizTesting State Changes
QuizMocking fetch Requests
Quizjest.fn vs jest.spyOn
QuizRendering with render()
QuizDetox Matchers and Actions
QuizTesting with Context Providers
QuizSnapshot Testing Trade-offs
QuizTesting Props and Conditional Rendering
QuizTesting Custom Hooks
QuizDetox Synchronization
QuizCoverage Thresholds
QuizSimulating Events with fireEvent
QuizAsync Queries and waitFor
QuizCommon Jest Matchers
QuizDetox E2E Fundamentals
QuizSnapshot Testing Components
Slides / VideoTesting Hooks with renderHook
Slides / VideoAsserting Component Output
Slides / VideoRunning Tests in CI/CD
FlashcardStructuring Tests with describe and it
FlashcardConfiguring the react-native Preset
FlashcardDebugging Failing Tests
FlashcardJest as the Default Test Runner
FlashcardUnit Testing Pure Functions
FlashcardMocking Navigation in Tests
FlashcardThe Testing Pyramid
FlashcardWriting E2E Test Flows
FlashcardSpying with jest.spyOn
FlashcardProviding Context and Store Wrappers
FlashcardUpdating Stale Snapshots
FlashcardSnapshot Testing Components
FlashcardUsing testID for Selection
FlashcardJest Matchers and expect
FlashcardQuerying Elements in RNTL
FlashcardMocking Native Modules and AsyncStorage
FlashcardMaestro for E2E Flow Testing
FlashcardTesting Hooks with renderHook
FlashcardSimulating Events with fireEvent
FlashcardTest Coverage Reporting
FlashcardMocking Timers with useFakeTimers
FlashcardTesting Async UI with waitFor
FlashcardMocking with jest.mock and jest.fn
FlashcardReact Native Testing Library Philosophy
FlashcardRendering Components with render()
FlashcardDetox for End-to-End Testing
FlashcardSimulators/Emulators vs Real Devices
FlashcardWrapping Updates in act()
FlashcardSetup and Teardown Hooks
FlashcardAppium as an E2E Alternative
FlashcardMocking Network Calls
FlashcardTesting Async UI with waitFor & findBy
Slides / VideoTesting Pyramid Strategy
Understand the ideal ratio of test types.
According to the testing pyramid, which type of test should you have the most of?