So You've Got A Gap In Code Coverage
A guide for developers on addressing gaps in code coverage, covering strategies like writing unit tests, refactoring code, and handling edge cases in TypeScript.
A guide for developers on addressing gaps in code coverage, covering strategies like writing unit tests, refactoring code, and handling edge cases in TypeScript.
Explains structure-cementing tests and how a Test DSL can decouple tests from implementation details, making them resilient to structural changes.
A guide on splitting large React components into smaller, focused units to improve maintainability, reusability, and unit test coverage.
An introduction to Vitest, a testing framework for JavaScript/TypeScript, covering basics, writing unit tests, and running tests via CLI or UI.
A developer recounts the decision to revert a major refactoring of the EqualsVerifier library after encountering persistent edge cases and bugs.
Explains structure-cementing tests that hinder code refactoring and introduces a TestDsl approach to write flexible, maintainable tests.
Overview of xUnit v3 prerelease features, including executable test projects, migration steps, and new capabilities like cancellation tokens.
A guide to creating an auto-mocking tool for iOS development to save time on writing repetitive test code.
Explores challenges and solutions for testing asynchronous Swift code, focusing on avoiding random failures due to concurrency issues in Swift 6.
Angular Testing Library v17.1.0 introduces a new 'on' API for easier and more intuitive testing of component output properties.
Apple's new Swift Testing framework simplifies unit testing in Swift, replacing XCTest with a cleaner syntax and powerful features like parameterized tests.
Explores best practices for transaction management in Java/Spring Data JPA tests, advising to mirror production conditions.
A retrospective on the 15-year journey of EqualsVerifier, a Java library for testing equals and hashCode methods, covering its evolution and community.
A guide on how to test Angular components using the new Signal APIs with Angular Testing Library, covering input properties and setup.
A guide to using SwiftyMocky, a mocking framework for Swift, to simplify unit testing by creating mocks for dependencies.
A developer explores efficient testing strategies for 109+ regex-based code highlighting patterns, moving from individual tests to data-driven approaches.
Overview of bUnit v2, a major update to the Blazor unit testing library, covering new features, breaking changes, and API refinements.
Explains how to use xUnit's TheoryData<T> for type-safe parameterized tests in C#, replacing untyped IEnumerable<object[]> data.
Explains why mocking ML models in unit tests is problematic and offers guidelines for effectively testing machine learning code.
A tutorial on creating a GitHub Action to automatically run unit tests on code commits and pull requests.