Learn how to test React Apps from fundamentals to React Testing Library
This Webinar it's inspired in the Testing Javascript course material:
simple.js
- Simple automated test
To run this tests enter the
packages/fundamentals
and runyarn test:simple
assertion.js
- Added a custom assertion
To run this tests enter the
packages/fundamentals
and runyarn test:assertion
utilities.js
- Created test utilities
To run this tests enter the
packages/fundamentals
and runyarn test:utilities
jest.js
- Simple jest usage
To run this tests enter the
packages/fundamentals
and runyarn test:jest
The files are intended to test the math
module.
react-dom.test.js
- Testing React apps with ReactDOMmatchers.test.js
- Using custom jest matchersdom-tl.test.js
- Added Dom Testing libraryrender.test.js
- Created render utilityreact-tl.test.js
- Initial react testing library usageunit.test.js
- Initial Unit testfire-event.test.js
- Dispatching events on nodesuser-event.test.js
- Added user simulations into testsprop-changes.test.js
- Rerendering components changing propertiesinit-mock.test.js
- Added initial jest mock
To run those tests enter the
packages/sample-app
and runyarn test
redux.test.js
- Testing async redux flows
To run those tests enter the
packages/redux-request
and runyarn test
integration.test.js
- Pocket eCommerce integration test
To run those tests enter the
packages/integrations
and runyarn test