React Native
Testing (Unit, Component & E2E)
122 lessons in React Native
- Testing Navigation-Dependent ComponentsSlides / Video
- Asserting Element PresenceCode Quiz
- Rendering With a Context ProviderCode Quiz
- Detox waitFor SynchronizationCode Quiz
- Mocking Network Requests in TestsSlides / Video
- Testing Async Code with async/awaitCode Quiz
- Accessibility Queries getByRoleCode Quiz
- getBy vs queryBy vs findByCode Quiz
- Querying by testID with getByTestIdCode Quiz
- Querying by Text with getByTextCode Quiz
- Rendering with RNTL renderCode Quiz
- Faking Timers with jest.useFakeTimersCode Quiz
- Spying with jest.spyOnCode Quiz
- Simulating User Events with fireEventSlides / Video
- Using testID for Element SelectionSlides / Video
- Querying Elements in TestsSlides / Video
- Rendering Components with render()Slides / Video
- React Native Testing Library OverviewSlides / Video
- Mocking Native Modules & TimersSlides / Video
- Mocking Functions with jest.fn & SpiesSlides / Video
- Mocking Modules with jest.mockSlides / Video
- Setup & Teardown: beforeEach, afterEachSlides / Video
- Common Jest MatchersSlides / Video
- Test Structure: describe, it, expectSlides / Video
- Broken describe Block SyntaxCode Quiz
- Over-Mocking the react-native ModuleCode Quiz
- Matcher Not Actually InvokedCode Quiz
- Jest Preset for React NativeCode Quiz
- jest.fn Missing ParenthesesCode Quiz
- Comparing Objects with toBeCode Quiz
- jest.mock Factory Returns NothingCode Quiz
- Wrong Setup Hook for ResetCode Quiz
- Unit Testing Functions & UtilitiesSlides / Video
- Simulators vs Real DevicesFlashcard
- Configuring Jest for React NativeSlides / Video
- Jest as the Default Test RunnerSlides / Video
- Testing Pyramid: Unit, Component, E2ESlides / Video
- What & What Not to TestSlides / Video
- Running Tests in CI/CD PipelinesSlides / Video
- Test Coverage Reports & ThresholdsSlides / Video
- Writing E2E Test Flows on DeviceSlides / Video
- Maestro as an E2E Testing AlternativeSlides / Video
- Enabling Jest Coverage ReportsCode Quiz
- Mocking Fetch in a TestCode Quiz
- Cleaning Up Between TestsCode Quiz
- Detox Test Structure BasicsCode Quiz
- Detox Tap and Type ActionsCode Quiz
- Mocking Navigation PropCode Quiz
- Detox Visibility ExpectationCode Quiz
- Detox for End-to-End TestingSlides / Video
- Waiting for Async UICode Quiz
- Testing a Custom HookCode Quiz
- Verifying a Callback PropCode Quiz
- Wrapping State Updates in actCode Quiz
- Snapshot Testing a ComponentCode Quiz
- Firing a Press EventCode Quiz
- Simulating Text InputCode Quiz
- Testing Components with ProvidersSlides / Video
- Faking TimersQuiz
- Maestro E2E FlowsQuiz
- Mocking Modules with jest.mockQuiz
- Jest Config for React NativeQuiz
- Testing Pyramid StrategyQuiz
- Running Tests in CIQuiz
- Handling act() WarningsQuiz
- Unit Testing Pure FunctionsQuiz
- Querying by testID and TextQuiz
- Mocking Native ModulesQuiz
- Testing with NavigationQuiz
- Setup and Teardown HooksQuiz
- Test Structure BasicsQuiz
- Testing State ChangesQuiz
- Mocking fetch RequestsQuiz
- jest.fn vs jest.spyOnQuiz
- Rendering with render()Quiz
- Detox Matchers and ActionsQuiz
- Testing with Context ProvidersQuiz
- Snapshot Testing Trade-offsQuiz
- Testing Props and Conditional RenderingQuiz
- Testing Custom HooksQuiz
- Detox SynchronizationQuiz
- Coverage ThresholdsQuiz
- Simulating Events with fireEventQuiz
- Async Queries and waitForQuiz
- Common Jest MatchersQuiz
- Detox E2E FundamentalsQuiz
- Snapshot Testing ComponentsSlides / Video
- Testing Hooks with renderHookSlides / Video
- Asserting Component OutputSlides / Video
- Running Tests in CI/CDFlashcard
- Structuring Tests with describe and itFlashcard
- Configuring the react-native PresetFlashcard
- Debugging Failing TestsFlashcard
- Jest as the Default Test RunnerFlashcard
- Unit Testing Pure FunctionsFlashcard
- Mocking Navigation in TestsFlashcard
- The Testing PyramidFlashcard
- Writing E2E Test FlowsFlashcard
- Spying with jest.spyOnFlashcard
- Providing Context and Store WrappersFlashcard
- Updating Stale SnapshotsFlashcard
- Snapshot Testing ComponentsFlashcard
- Using testID for SelectionFlashcard
- Jest Matchers and expectFlashcard
- Querying Elements in RNTLFlashcard
- Mocking Native Modules and AsyncStorageFlashcard
- Maestro for E2E Flow TestingFlashcard
- Testing Hooks with renderHookFlashcard
- Simulating Events with fireEventFlashcard
- Test Coverage ReportingFlashcard
- Mocking Timers with useFakeTimersFlashcard
- Testing Async UI with waitForFlashcard
- Mocking with jest.mock and jest.fnFlashcard
- React Native Testing Library PhilosophyFlashcard
- Rendering Components with render()Flashcard
- Detox for End-to-End TestingFlashcard
- Simulators/Emulators vs Real DevicesFlashcard
- Wrapping Updates in act()Flashcard
- Setup and Teardown HooksFlashcard
- Appium as an E2E AlternativeFlashcard
- Mocking Network CallsFlashcard
- Testing Async UI with waitFor & findBySlides / Video