From Testing Pyramid to Diamond
Explores the shift from the traditional testing pyramid to a testing diamond model, emphasizing more integration tests for modern architectures.
Explores the shift from the traditional testing pyramid to a testing diamond model, emphasizing more integration tests for modern architectures.
Explains how to combine Angular Testing Library and Test Harnesses to write more robust and maintainable tests for components, especially third-party ones.
A comprehensive guide to unit testing and mocking in the NestJS framework, covering best practices, examples, and CI/CD integration.
A tutorial on mocking and simulating location data for automated testing in iOS using XCTest and a local Sinatra server.
A tutorial on using React Testing Library to test React components from a user's perspective, covering setup with Jest.
A guide to using AutoFixture with xUnit to generate anonymous test data, making unit tests more robust and maintainable.
Explains how to use FluentAssertions' Assertion Scopes to see all test failures at once, improving debugging efficiency.
A step-by-step guide to writing unit tests for a Node.js Express API, covering setup, tools like Mocha and Chai, and best practices.
Explains the WebApplicationFactory in .NET for integration testing ASP.NET Core WebAPIs, highlighting its benefits and usage.
Explains the triangulation technique in Test-Driven Development (TDD) to safely generalize code using multiple test assertions.
Explores why data and ML pipeline tests break incorrectly and offers strategies for writing more robust unit, schema, and integration tests.
A guide to testing custom Kafka Connect source connectors, covering unit and integration testing strategies with code examples.
Explains the 'Don't Mock What You Don't Own' testing principle, discussing why you should avoid mocking third-party dependencies and offering alternatives.
A tutorial on testing ASP.NET Core Minimal APIs using xUnit, covering unit and integration tests for endpoints.
A guide to setting up unit testing for React applications using Node.js 18's built-in test runner and esbuild, instead of Jest.
Argues that well-written unit tests serve as the most reliable and up-to-date form of documentation for software code.
A guide to unit testing applications that use the RavenDB document database in .NET, covering setup and repository patterns.
A guide to implementing unit testing and UI testing for Swift applications, covering principles, best practices, and a practical case study.
Explains why XCTNSPredicateExpectation is slow for async tests and recommends using Nimble's toEventually for faster, more reliable tests.
Explores strategies for writing unit-testable code within SwiftUI views, separating UI logic from business logic for better verification.