Filtering as domain logic
Explores strategies for implementing and testing complex data filtering logic, balancing correctness and performance between in-memory and database queries.
Explores strategies for implementing and testing complex data filtering logic, balancing correctness and performance between in-memory and database queries.
Learn how to mock HTTP calls in Python tests using the responses library for fast, reliable, and network-free testing.
Argues that software engineers must prove their code works through manual and automated testing, not just rely on AI tools and code reviews.
A developer explains their migration from Jest to Vitest, citing ESM support, TypeScript compatibility, and performance improvements.
Angular v21's switch to Vitest now includes HTML templates in test coverage, forcing developers to rethink component testing strategies.
A look at JustHTML, a new Python HTML parser library, and how it was built using AI-assisted programming and 'vibe engineering'.
Explores the new subtests feature in pytest 9.0.0, comparing it to parametrized tests for performance and flexibility.
Learn how to use the freezegun library to freeze time in Python tests for reliable time-dependent code testing.
Armin Ronacher discusses challenges in AI agent design, including abstraction issues, testing difficulties, and API synchronization problems.
Using data-* attributes to expose internal state for stable, declarative testing of web components, avoiding brittle shadow DOM selectors.
A guide to testing Azure Bicep IaC templates using automated, ephemeral environments created in GitHub Actions for reliable deployments.
Datasette 1.0a22 release notes covering new security features, a client detection method, and developer tools for plugin authors.
Explores strategies for cleaning up test data in Spring/Hibernate applications, covering pitfalls like @Transactional and PostgreSQL performance tuning.
A developer documents upgrading a Datasette plugin for the 1.0 alpha, using tools like uv and OpenAI Codex CLI, including video and notes.
A software tester proposes the term 'slop-coding' to describe quickly built, untested tools, contrasting it with 'vibe coding' for clearer communication.
A guide to replacing tox/nox with uv and Just for testing Python projects against multiple Python versions, simplifying configuration.
Learn how to mock different return values for each call of a method using MagicMock.side_effect in Python tests.
Practical tips for effectively using the Cursor AI assistant to write and maintain Playwright end-to-end tests, based on real-world experience.
Explains how to use Angular's new bindings API with Angular Testing Library to test component inputs and outputs.
Introducing Cachy, an open-source Python package that caches LLM API calls to speed up development, testing, and clean up notebook diffs.