Rut is a DOM-less React testing library that aims to be lightweight, encourage great testing practices, and reduce flakiness and code smells. It is a wrapper and abstraction around react-test-renderer that simplifies the test writing process, while doing all the hard work behind the scenes.
This package provides core functionality for adapters to expand upon. For example, a DOM adapter for
react-dom, a mobile native adapter for
react-native, or even a custom adapter unique to your
act()integration. Let Rut do the heavy lifting.
yarn add --dev rut react