All Projects → ferrannp → React Native Testing Example

ferrannp / React Native Testing Example

Example of unit testing a React Native & Redux app using Jest (and Snapshots!)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Native Testing Example

reducer-tester
Utilities for testing redux reducers
Stars: ✭ 19 (-88.05%)
Mutual labels:  jest, snapshot
Snap Shot
Jest-like snapshot feature for the rest of us, works magically by finding the right caller function
Stars: ✭ 170 (+6.92%)
Mutual labels:  jest, snapshot
Jest Image Snapshot
✨ Jest matcher for image comparisons. Most commonly used for visual regression testing.
Stars: ✭ 2,940 (+1749.06%)
Mutual labels:  jest, snapshot
Snapshot Diff
Diffing snapshot utility for Jest
Stars: ✭ 490 (+208.18%)
Mutual labels:  jest, snapshot
Preact Jest Snapshot Test Boilerplate
🚀 Test Preact components using Jest snapshots
Stars: ✭ 24 (-84.91%)
Mutual labels:  jest, snapshot
React Nativeish
React Native / React Native Web Boilerplate
Stars: ✭ 106 (-33.33%)
Mutual labels:  jest, snapshot
Babel Test
An opinionated library to make testing babel plugins easier.
Stars: ✭ 79 (-50.31%)
Mutual labels:  jest, snapshot
Typescript Snapshots Plugin
Snapshots language service support for Typescript
Stars: ✭ 122 (-23.27%)
Mutual labels:  jest, snapshot
Nest User Auth
A starter build for a back end which implements managing users with MongoDB, Mongoose, NestJS, Passport-JWT, and GraphQL.
Stars: ✭ 145 (-8.81%)
Mutual labels:  jest
Jest Stare
Jest HTML Reporter and Results Processor
Stars: ✭ 154 (-3.14%)
Mutual labels:  jest
Micro Starter
[Deprecated] 🔷 Basic (opinionated) starter kit for a micro app with webpack build
Stars: ✭ 144 (-9.43%)
Mutual labels:  jest
Android Snapshot Publisher
Gradle plugin to deploy Android Snapshot Versions
Stars: ✭ 145 (-8.81%)
Mutual labels:  snapshot
Grub Btrfs
Include btrfs snapshots at boot options. (Grub menu)
Stars: ✭ 153 (-3.77%)
Mutual labels:  snapshot
Iceberg
Front-End Boilerplate built with React + Babel + Webpack + SASS
Stars: ✭ 144 (-9.43%)
Mutual labels:  jest
Reactconfbr
Public infos and issues about React Conf Brasil organization
Stars: ✭ 156 (-1.89%)
Mutual labels:  jest
Javali
🐗 Create a modern JavaScript library that uses ES6 + Jest
Stars: ✭ 144 (-9.43%)
Mutual labels:  jest
Jest Express
Mock Express for testing with Jest
Stars: ✭ 141 (-11.32%)
Mutual labels:  jest
Mongoose Typescript Example
Stars: ✭ 156 (-1.89%)
Mutual labels:  jest
J
微信网页版API 微信桌面机器人
Stars: ✭ 155 (-2.52%)
Mutual labels:  jest
Lighthouse Badges
🚦Generate badges (shields.io) based on Lighthouse performance.
Stars: ✭ 150 (-5.66%)
Mutual labels:  jest

React Native Testing Example

This is the example repo for:

  1. Unit testing React Native with the *new* Jest (I) — Snapshots come into play!
  2. Unit testing React Native with the *new* Jest (II) — Redux: Snapshots for your actions and reducers

Try it out!

Install dependencies:

$ npm install

Run tests:

$ npm test

You can also run them in watch mode:

$ npm test -- --watch

In this mode, you can play changing the app behaviour, breaking the tests and fixing them!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].