Write better Swift unit tests with custom XCTest assertions
A tutorial on creating custom XCTest assertions in Swift to write clearer and more maintainable unit tests.
A tutorial on creating custom XCTest assertions in Swift to write clearer and more maintainable unit tests.
A tutorial on writing unit test assertions for Swift's Result enum, covering both Equatable and non-Equatable scenarios.
A guide to preventing SwiftUI apps from running their full startup flow during unit tests to avoid side effects and improve test performance.
A step-by-step guide to configuring Jest for unit testing in a React application built with TypeScript, covering dependencies and configuration.
Explores using resilient randomized tests to improve software system robustness and prevent regressions during maintenance and change.
A developer adds custom form validation in Django to prevent duplicate student enrollments and improves empty state templates.
A guide to decoupling unit tests from frequently changing values, using Swift examples to separate logic from copy.
A tutorial on using Jest to test class methods, including spying on instances and prototypes to verify method calls.
A developer stream recap fixing task completion date bugs and adding student grade data to a Django SaaS app using test-driven development.
A developer documents project setup, fixes a course scheduling bug, and starts building a new student reports section in a Django application.
A discussion on why there's no single correct way to write tests, challenging the dogma around unit testing and TDD.
A developer builds a student enrollment form using Python and Django, focusing on context data, Tailwind CSS styling, and unit testing.
A guide to testing .NET Core's IOptionsMonitor, including a stub implementation and example unit tests for configuration change scenarios.
An in-depth technical look at how the Mocha test runner works, from parsing to execution, based on the author's experience on the core team.
A developer builds a Django CreateView for adding courses, reusing forms and templates while following a test-driven approach.
Explains the importance of using the *ByRole query in Testing Library for accessible, robust tests and how to find fallback queries.
A practical guide to Test-Driven Development (TDD), explaining the red-green-refactor cycle and when it's most beneficial to use.
A guide to writing unit tests for cloud infrastructure deployments using Pulumi and the F# programming language, with a focus on mocking.
A guide to writing unit tests for cloud infrastructure deployments using Pulumi's .NET SDK and mocking capabilities in C#.
Learn how to automatically run Python unit tests on every commit and pull request using GitHub Actions.