Mock Your Hooks to Make Testing Simpler
Mocking with Jest can have a weird learning curve. Let's see how to mock those hooks.
Create User Acceptance Testing Environments on Pull Request for React Apps
How to create a UAT environment for a React application every time a PR is created to the default branch.
Improve Your End to End Tests with Cypress Intercept
Learn how to capture network calls for stubbing, assertions, and more.
Storybook Snapshot Testing
Automatic Jest Snapshot Testing with Storybook Stories
A Guide to Documenting Controlled Components with Storybook
A Guide to Managing External Storybook State
5 Tips to Perfect React Testing Library Queries
My strategy to retrieve any element with the Testing Library API
Testing React Router with Jest
How to write unit tests that check if you're routing requests correctly using React Router with Jest
Simulate Browser Interactions with Testing Library's UserEvent
A guide to Testing Library's UserEvent API
Interaction Testing with React Testing Library
A window into React component testing
Structuring Unit Tests in Python
Where to put tests, how to write fixtures and the awesomeness of test parametrization
Creating Axios mock requests in Jest
How to create your own reusable axios mock request function for Jest.
Testing local storage with testing library
How to test changes to the local storage on synchronous cases and asynchronous ones using the testing library.
Jest Spies and Mocks in Explained via Examples