@@ -7,24 +7,35 @@ _Course material for testing React components using react-testing-library_
77
88<!-- END doctoc generated TOC please keep comment here to allow auto update -->
99
10- I'm still working on the README. But here's the order these should be given in:
11-
1210- ` react-dom.js ` - Render a React component for testing
1311- ` jest-dom.js ` - Use jest-dom for improved assertions
14- - ` dom-testing-library.js ` - Use dom-testing-library to write more maintainable React tests
15- - ` react-testing-library.js ` - Use react-testing-library to render and test React Components
12+ - ` dom-testing-library.js ` - Use dom-testing-library to write more maintainable
13+ React tests
14+ - ` react-testing-library.js ` - Use react-testing-library to render and test
15+ React Components
1616- ` localized.js ` - Testing localized content with react-testing-library
1717- ` state.js ` - Test React Component state changes with react-testing-library
1818- ` prop-updates.js ` - Test prop updates with react-testing-library
1919- ` a11y.js ` - Test accessibility of rendered React Components with jest-axe
20- - ` dependency-injection.js ` - Mock HTTP Requests with Dependency Injection in React Component Tests
21- - ` http-jest-mock.js ` - Mock HTTP Requests with jest.mock in React Component Tests
22- - ` mock-component.js ` - Mock react-transition-group in React Component Tests with jest.mock
23- - ` error-boundaries.js ` - Test componentDidCatch handler error boundaries with react-testing-library
24- - ` tdd-markup.js ` - Test drive the development of a React Form with react-testing-library
25- - ` tdd-functionality.js ` - TDD the functionality of a React Form with react-testing-library
26- - ` react-router-provider.js ` - Test react-router Provider history object in React Component Tests with createMemoryHistory
20+ - ` dependency-injection.js ` - Mock HTTP Requests with Dependency Injection in
21+ React Component Tests
22+ - ` http-jest-mock.js ` - Mock HTTP Requests with jest.mock in React Component
23+ Tests
24+ - ` mock-component.js ` - Mock react-transition-group in React Component Tests
25+ with jest.mock
26+ - ` error-boundaries.js ` - Test componentDidCatch handler error boundaries with
27+ react-testing-library
28+ - ` tdd-markup.js ` - Test drive the development of a React Form with
29+ react-testing-library
30+ - ` tdd-functionality.js ` - TDD the functionality of a React Form with
31+ react-testing-library
32+ - ` react-router-provider.js ` - Test react-router Provider history object in
33+ React Component Tests with createMemoryHistory
2734- ` redux.js ` - Test a redux connected React Component
2835- ` render-props.js ` - Test a render prop component using a Jest spy function
2936- ` portals.js ` - Test React portals with react-testing-library’s ` within ` API
3037- ` unmounting.js ` - Test Unmounting a React Component with react-testing-library
38+
39+ > Note: the setup for this project uses kcd-scripts. Don't worry about that. You
40+ > can learn about how to configure jest properly in the "Configure Jest for
41+ > Testing JavaScript Applications" module of TestingJavaScript.com
0 commit comments