React Testing

React Testing

Newest releases

keiya01 You can test React(ReactNative) runtime performance by using this lib. If you want to check the number of renders, or render time in a test environment, this lib makes sense.

wellyshen A React hook that measure an element's size and handle responsive components with highly-performant way, using ResizeObserver. Try it you will 👍🏻 it!

testing-library Simple and complete Preact hooks testing utilities that encourage good testing practices.

fwouts Here is a screenshot test written with react-screenshot-test: All you need is to install react-screenshot-test and configure Jest: // jest.screenshot.config.js module.exports = { testEnvir

expert-m react-split-testing A/B testing, also called split testing, is an experiment where two (or more) variants of a webpage are shown to users at random, and is used as a means of determining which variant leads to

skidding React mock Declarative mocks for React state and global APIs. Jump to Why? Component state Fetch requests LocalStorage XHR requests How to contribute Why? The motivation for thi

jamiebuilds react-performance-observer Get performance measurements from React Fiber Install yarn add --dev react-performance-observer Usage react-performance-observer is a small abstraction over Per

testing-library React Testing Library Simple and complete React DOM testing utilities that encourage good testing practices. Read The Docs | Edit the docs Table of Contents

ktsn vuex-assert Assertion for Vuex state Examples Just add assertions into your Vuex modules. // modules/users.js import { boolean, number, string, object, array } from 'vuex-assert' export defa

rkotze should-enzyme should.js assertions for enzyme Install Setup Assertions attr(key, [value]) checked() className(string) contain(node) containsText(string) data(key, [value]) disabled() exactClas

pzavolinsky react-unit React Unit is a lightweight unit test library for ReactJS with very few (js-only) dependencies. By using react-unit you can run your ReactJS unit tests directly from node or gulp without having to install an

Legitcode ##Legit Tests This is a super friendly testing library for React, inspired by express middleware, it's easily extendable. Why did I make this when you can use React's Test Utils? Because who likes typing out scryRenderedDOMCompon

enzymejs Enzyme Enzyme is a JavaScript Testing utility for React that makes it easier to assert, manipulate, and traverse your React Components' output. Enzyme's API is meant to be intuitive and flexible by mimicking jQ

philcockfield ui-harness Isolate, test and document modular UI with React using familiar describe/it testing semantics. Quick Start (1-minute) With the UIHarness you can go from an empty NPM mo