Using Promise.withResolvers in Node.js Tests
Explains how to use the new Promise.withResolvers API in Node.js v22+ to manage asynchronous operations in nested tests.
Explains how to use the new Promise.withResolvers API in Node.js v22+ to manage asynchronous operations in nested tests.
Slides and code for an ElixirConf 2024 talk about improving software quality through more effective testing strategies.
Explores missing likelihood-ratio tests in survey regression models, comparing Wald, score, and Rao-Scott tests with sample vs. population scaling.
Explains why calling new Date() inside React components creates flaky tests and offers a solution using props for testable, pure components.
Explains Deterministic Simulation Testing (DST) for debugging distributed systems by controlling randomness and time in a single-threaded, reproducible test environment.
A developer reflects on how his coding style and preferences have evolved over a decade, moving away from abstractions and clever code toward simplicity and practicality.
A guide on integrating and using Angular Testing Library with the Vitest test runner for testing Angular components in a user-centric way.
Explores the challenges, trade-offs, and benefits of using merge queues in CI/CD pipelines to improve code quality and stability.
A guide to implementing OpenTelemetry tracing in Ginkgo test suites to debug failures in distributed microservices.
A guide to creating a custom formatter for the Gomega assertion library in Go to improve error output, specifically for github.com/pkg/errors stack traces.
A technical guide on testing a Starnote device indoors using USB connection and the Notecard Simulator tool.
A guide to installing older iOS Simulator runtimes via command-line tools for CI testing, covering deprecated and current methods.
Learn how to change your Mac's system date from the command line for testing date-based logic in applications.
Explores best practices for transaction management in Java/Spring Data JPA tests, advising to mirror production conditions.
An introduction to property-based testing in TypeScript using fast-check, explaining how to test program properties instead of specific examples.
A developer explores efficient testing strategies for 109+ regex-based code highlighting patterns, moving from individual tests to data-driven approaches.
Explores the 'Fewest Elements' rule in software design, advocating for removing unnecessary code like unreachable lines, comments, and unused abstractions.
Explains the 'No Duplication' rule in software design, detailing its benefits for maintainability and enabling change.
A debugging story about a Go test suite failing silently due to a commented-out line in TestMain, causing confusion and a frantic search for the bug.
A quick guide on testing browser extensions locally in Chrome and Edge before publishing, including enabling Developer Mode.