1.11.0 • Published 5 years ago

react-unit-test-generator v1.11.0

Weekly downloads
39
License
ISC
Repository
github
Last release
5 years ago

react-unit-test-generator

react-unit-test-generator is a helper for writing unit tests for React apps. Its main goal is to automatically generate a suite of the most common test cases for a given component.

Currently, it creates unit tests based on a component's defaultProps but also for custom props set by user on a new property for that component - testProps, declared very similarly to how we already declare defaultProps. It also has support for testing event handlers such as onClick, onChange and onSubmit. You can also define the entry point for your project and the path to the tests directory in a config file, passed as an argument to the command.

Install

npm install --save-dev react-unit-test-generator
1.11.0

5 years ago

1.10.2

5 years ago

1.10.1

5 years ago

1.10.0

5 years ago

1.9.3

5 years ago

1.9.2

5 years ago

1.9.1

5 years ago

1.9.0

5 years ago

1.8.5

5 years ago

1.8.4

5 years ago

1.8.3

5 years ago

1.8.2

5 years ago

1.8.1

5 years ago

1.8.0

5 years ago

1.7.0

5 years ago

1.6.0

5 years ago

1.5.2

5 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago