Miss any of our Open RFC calls?Watch the recordings here! »


0.1.33 • Public • Published


Build Status NPM Version Discord Chat Twitter

Integration testing framework for React and React Native applications that helps you write meaningful tests.

Our focus is to give a developer a top to bottom approach for testing where he can start his tests from UI actions invocation and take a snapshot of any meaningful interaction that he is interested in (Network, BI, Navigation, etc.).


In order to write a good and fast-growing application you have to cover your code with meaningful tests that will help your team run fast but still give you an understanding of what is broken

One of the sweetest spots of the testing pyramid is Integration tests that are much faster than e2e and are easier to support than unit tests, also they are very informative on what is broken in your code and what are use cases that are affected.

Rehab is an easy to use Integration testing Framework that applies the following approaches:

  • Use case driven: all rehab tests describe user actions that can be performed over components that are shown on a screen.
  • Top to bottom: every action should trigger all code that has been written by your team from click callback or react hook to any action performed or state changed.
  • Snapshots validation: a developer should have an easy way of recording snapshots of any part of the system that he is interested in. Whether it is a network call, Navigation or state changes.
  • Extendable: developer should have an easy mechanism to add additional actions to testDriver that can be performed during tests.


See with-react-native

Work in progress with-react




npm i rehabjs

DownloadsWeekly Downloads






Unpacked Size

29.8 kB

Total Files


Last publish


  • avatar