Setup
Begin by installing the rut-dom
package (or another renderer specific package) as a dev
dependency. Since this is a React testing library, be sure react
, and react-dom
(or
react-native
, etc) is also installed.
- Yarn
- NPM
And that's it! Head over to the API for more information on how to use
render()
, renderAndWait()
, and others -- or continue reading for testing framework specific
functionality.
#
Support matrixThe following React versions are supported by the following Rut versions.
React | Rut |
---|---|
16.x | 1.x |
17.x | 2.x |