Test Isolation with React
A guide on achieving test isolation in React components to improve test reliability and prevent shared mutable state issues.
A guide on achieving test isolation in React components to improve test reliability and prevent shared mutable state issues.
A developer's enthusiastic review of Jest's developer experience, highlighting its visual diffs, flexible conventions, and friendly CLI.
A developer shares key reasons to love the Jest testing framework, highlighting its zero-config setup, built-in features, and extensibility.
Introducing ngx-testing-library, an Angular adapter for the DOM Testing Library approach, enabling tests focused on user behavior over implementation details.
Explores software engineering as programming integrated over time and with other programmers, using Go's design decisions as examples.
A guide to writing unit tests for AWS Chalice applications using local mode and pytest.
A guide to writing unit tests in ASP.NET Core to automatically verify that security attributes like AuthorizeAttribute are applied to controllers and actions.
A guide to testing code that uses randomness or time by using dependency injection to make tests deterministic.
A developer argues for the benefits of 100% unit test coverage, addressing common counterarguments and emphasizing testable code design.
A guide to unit testing ILogger in ASP.NET Core, covering the challenge of mocking extension methods and providing practical solutions.
An explanation of JavaScript mocking using a thumb war game example to test a non-deterministic function.
A practical guide to implementing Test Driven Development (TDD) by building a message service with .NET, XUnit, and Moq.
Explains three methods for unit testing C# code that uses HttpClient, including wrapping it with an interface for mocking.
An introduction to Test Driven Development (TDD), explaining its core principles, the Red-Green-Refactor cycle, and the author's personal experience with it.
A guide explaining what JavaScript tests are by building a simple testing framework from scratch for pure functions.
A developer's experience using xUnit Roslyn Analyzers to improve unit test quality and fix warnings during a Visual Studio upgrade.
Explains how to implement custom type conversion for Spring MVC controller parameters, focusing on Converter interface and testing with @WebMvcTest.
Improving Swift test debugging by pinpointing exact property differences between object instances instead of generic failure messages.
Explains a subtle issue with mock verification order in Spock tests and provides a solution using multiple 'then' blocks.
A developer critiques snapshot testing, arguing it creates unclear tests that erode team trust and are often blindly regenerated when they fail.