Unit Testing React without Jest
A guide to setting up unit testing for React applications using Node.js 18's built-in test runner and esbuild, instead of Jest.
A guide to setting up unit testing for React applications using Node.js 18's built-in test runner and esbuild, instead of Jest.
A developer reflects on their technical contributions at Forem, including implementing pre-commit hooks, upgrading Preact, and advocating for accessibility.
Explains how Single Component Angular Modules (SCAMs) improve Angular component tests by making test setups less fragile and more maintainable.
A guide to writing high-value, user-focused tests for Angular components using the Angular Testing Library to improve confidence and maintainability.
A technical changelog detailing the frontend upgrades at DEV, including migration to Preact X and adoption of Testing Library with a11y testing.
A guide to simplifying Vue.js application testing using the Vue Testing Library, focusing on user-centric tests and practical examples.
Explains the importance of using the *ByRole query in Testing Library for accessible, robust tests and how to find fallback queries.
A guide to fixing the 'not wrapped in act(...)' warning in React component tests, covering class and function components.
A guide to setting up and writing component tests for Svelte applications using Jest and the Svelte Testing Library.
Explains why nesting in tests, especially with beforeEach hooks, leads to unmaintainable code, using a React component as an example.
A guide on achieving test isolation in React components to improve test reliability and prevent shared mutable state issues.
Introducing ngx-testing-library, an Angular adapter for the DOM Testing Library approach, enabling tests focused on user behavior over implementation details.
Introducing react-testing-library, a lightweight React testing utility that encourages testing components like a user would.