react-tdd

0.0.2 • Public • Published

react-tdd

Test Driven Development (TDD) is widely regarded as an effective and scalable approach to software design, but its adoption has stagnated in React. Writing useful frontend tests for real-world codebases turns out to be quite hard.

There's a two-fold purpose for react-tdd:

  1. Provide useful helper functions to facilitate writing better and more useful React tests, and
  2. Provide a source of education through articles and examples that tackle the kinds of real-world testing problems that usually stymie developers.

Helper Functions

react-tdd packages a collection of enzyme helper functions that allow developers to write more declarative React tests.

Install: yarn add -D react-tdd

Usage: until some docs are written, just check out the comments in the source code!

Education

Link to and discuss articles in articles.md and find examples of React tests organized under the examples folder.

Dependents (0)

Package Sidebar

Install

npm i react-tdd

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

1.06 MB

Total Files

22

Last publish

Collaborators

  • andrewsouthpaw