Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Explore BestHub

#testing

RSS feed
Follow or choose interest 7-day signal and related keywords

Latest articles

500 articles in the current browsing window, ordered by publication date.

Verifying Ontology Changes Reach Production: A Complete Validation Framework

This article outlines a systematic framework for verifying that ontology modifications are actually adopted in production, covering version-specific confirmation, impact tracing through usage relationships, comprehensive testing beyond the original error, post-release validation from real entry points, separate handling of historical impacts, and precise record-keeping for both running systems and model-only deliveries.

Alibaba's 32 AI Coding Design Patterns: From Legacy Scanning to Agent Orchestration

Alibaba Cloud and Qoder share 32 battle-tested AI coding design patterns across six dimensions—human-AI collaboration, context integration, SDLC orchestration, knowledge memory, governance, and agent collaboration—with concrete prompts, acceptance criteria, and anti-patterns for each.

From Zero Tests to 165: Android Chat Assistant Quality Engineering Retrospective

The team transformed an Android chat assistant with zero tests and CI into a robust product through 21 PRs, establishing a five-layer safety net, enforcing privacy-first design, optimizing performance via trace-driven analysis, hardening reliability with black-box testing, and adding on-device observability—all while uncovering flaws in their own test infrastructure.

The Last Programmer's Day? How AI Is Erasing 'Code Farmers' and Creating AI Builders

The article analyzes how AI is eliminating traditional coding roles, turning 1024 Programmer's Day into an AI builders' festival, with job markets splitting into high-paying AI alignment roles and obsolete manual testing, while companies like Tencent and DeepSeek demonstrate AI generating 90%+ of code, shifting value to defining success criteria and judging AI output.

AI Coding in Zero-Tolerance Distributed Storage: Meituan's Review, Debug & Automation Practices

Meituan's infrastructure team shares practical experiences using AI for code review, debugging, and automation in distributed storage systems, detailing where AI excels, where it fails due to missing operational context, and methodological principles for combining AI-generated hypotheses with rigorous verification through tests, integration tests, and runtime logs.

Go's http.Server Exposes Internal Middleware via HandleRequest for HTTP/3

Go proposal #77441 adds Server.HandleRequest to net/http, exposing internal request-processing middleware (OPTIONS *, DefaultServeMux fallback, panic recovery) so HTTP/3 and other protocol implementations can reuse standard library behavior without code duplication, while also enabling full-server integration testing.

Compose State Management: When to Use ViewModel vs remember vs rememberSaveable

The article distinguishes three lifecycle events that reset UI state — recomposition, configuration change, and process death — and maps each to the appropriate Compose state holder (remember, retain, rememberSaveable, ViewModel) with a counter example, showing how to persist user-modified data and enable JVM unit testing.

Go Error Handling & Observability: From Error Trees to Microservice Fault Validation

This article presents a comprehensive Go error handling framework that separates domain causes, protocol results, internal causes, operation context, and execution decisions, demonstrating layered error conversion, deterministic boundary classification, safe HTTP/gRPC responses, cross-service error propagation, observability integration, Kafka offset management, and fault injection validation for production microservices.

From Chatbot to AI Agent: Why a Single While Loop Fails in Production

The article details the first week of the Aegis project, demonstrating why a naive while-loop agent loop fails in production and how to replace it with deterministic contracts, a finite state machine, bounded execution budgets, server-side tool authorization, and reproducible failure testing using local mocks.

Palantir Ontology Functions: Turning Business Logic into Reusable, Typed Assets for Agents

The article explains how Palantir Ontology Functions centralize scattered business logic into typed, testable, monitorable server‑side functions that operate on business objects, contrasting them with Pipelines, Actions, and Automations, and showing why they provide stable tools for Agents versus fragile prompt‑embedded formulas.

Codex Explained: OpenAI's AI Agent That Reads, Edits, Runs & Verifies Code

This article explains OpenAI's Codex as an autonomous coding agent that can read repositories, modify files, execute commands, and verify results across desktop, CLI, IDE, and cloud environments, detailing how it differs from chat-based assistants, subscription tiers, ideal use cases like codebase exploration and repetitive tasks, common pitfalls such as vague goals and over-trusting automation, and practical starting strategies for developers.

Codex: The AI Coding Agent That Reads, Edits, and Tests Your Code

This article explains how Codex differs from typical AI chat by acting as an autonomous coding agent that can read files, modify code, run commands, and execute tests within a repository, detailing which developers benefit most and the practical limits of its capabilities.

Best Way to Use Testcontainers in Spring Boot Tests: @TestConfiguration & ServiceConnection

This article demonstrates the optimal way to integrate Testcontainers with Spring Boot tests using @TestConfiguration, @ServiceConnection, and @RestartScope for reusable Neo4j containers, avoiding dual lifecycle management, and shows how to extend this to dev services with Testcontainers Cloud fixed port mapping.

PAO: Zero-Config JSON Output for PHP Tools That Cuts AI Token Usage by 99.8%

PAO (PHP Agent Output) is a zero-configuration Composer package that automatically detects AI coding agents like Claude Code and Cursor, then switches PHP testing and static analysis tools (Pest, PHPUnit, PHPStan, Rector) to emit compact structured JSON instead of verbose human-readable output, reducing token consumption by up to 99.8% while preserving human terminal experience.

Designing Reliable Failure Boundaries in PHP: Errors, Exceptions & Result Types

This article explores how to design robust failure boundaries in PHP payment systems by distinguishing validation errors, expected business declines, transient provider failures, and programming defects, using result types for normal outcomes, translated exceptions for integration failures, idempotent retries, and observability without sensitive data.

How a 7‑Step SOP Stops AI‑Driven Code Refactoring from Breaking 40% of Projects

The article explains why AI‑assisted code refactoring often introduces hidden bugs—due to limited context windows, rising duplicate‑code rates, and fleeting speed gains—and presents a concrete 7‑step SOP that combines static analysis, dependency mapping, single‑function changes, test‑first development, adversarial review, feature‑flag rollout, and a git‑based rollback plan to keep AI refactors safe and reliable.

Go database/sql Tutorial: 39 Practical Lessons from Core to ORMs & Tools

This practical Go database/sql tutorial covers 39 lessons spanning core concepts like connection pools, transactions, and isolation levels, compares ORMs (GORM, Bun, XORM) and lightweight tools (sqlx, sqlc, Squirrel), and addresses logging, migration, testing, and production practices using modernc.org/sqlite for runnable examples.

How Qunar Implements AI‑Driven End‑to‑End Front‑End Delivery

The article details Qunar's engineering practice of using AI agents to automate the entire front‑end delivery pipeline—from multi‑modal requirement input and design‑to‑code conversion, through real‑device testing and integration, to state recovery, decision persistence, and knowledge compounding—highlighting challenges, solutions, and future improvement directions.

Treat Test, Staging, and Production Environments Like an RPG – A Hands‑On Config Management Guide

The article likens the software release pipeline to an RPG, explains the distinct purposes and characteristics of test, pre‑release, and production environments, and presents concrete configuration‑management principles and four practical solutions—including environment variables, file mounts, and config centers—supported by real‑world examples.

5 Common Mistakes When Testing Retrieval‑Augmented Generation (RAG) Systems

Over 90% of RAG projects fail due to testing blind spots, and this article details five critical pitfalls—from ignoring the retrieval chain to mishandling latency, domain data, refusal handling, and knowledge updates—while offering concrete validation practices to build trustworthy AI systems.

Is Your Harness Workflow Actually Improving? A Quantifiable Exam‑Based Evaluation System

The article presents Harness Eval, a lightweight, regression‑capable testing framework that treats Harness workflows like exam questions, defines three core principles (repeatability, attribution, closed‑loop), details the design of test assets, the multi‑turn examiner‑candidate interaction, automated grading with evidence‑backed scores and improvement suggestions, and shows how applying it raised the team’s pass rate from 82.4% to 100%.

TokenHub Open-Source: Why the Beego Creator Values Production Feedback Over Features

The creator of TokenHub and Beego outlines six priorities for community contributions after open-sourcing the AI gateway: real-world enterprise usage feedback, provider protocol compatibility, robust testing matrices, production-grade deployment practices, documentation and multilingual support, and architectural restraint — emphasizing that sustainable open-source growth comes from diverse operational experience, not just code submissions.

Why Faster Java Backend Code Isn’t the Real Value in the Age of AI Coding

Even when AI generates a compile‑ready, unit‑tested Java backend interface, true delivery requires explicit assumptions, domain‑driven constraints, behavior‑focused verification, and responsible hand‑off, shifting the engineer’s value from raw coding speed to risk‑aware design and validation.

Pest 5.0: Modern PHP AI Testing Framework Powered by PHP 8.4 & PHPUnit 13

Pest 5, built on PHP 8.4 and PHPUnit 13, introduces the Tia engine that cuts a ten‑minute Laravel test suite to about four seconds, adds an Agent plugin for AI‑driven verification, Evals for LLM assessment, PHPStan integration, Rector‑based auto‑refactoring, time‑balanced sharding and dozens of new assertions, all ready for production.

Master Spring Boot Starters: In‑Depth Analysis, Interview Self‑Test, and Real‑World Examples

This article presents a comprehensive interview self‑test checklist for Spring Boot Starters, offering detailed reference answers that explain the distinction between Starters and AutoConfiguration, Maven transitive dependencies, registration files for Spring Boot 3.x, the inner workings of @ConfigurationProperties and Binder, changes to relaxed binding, essential annotations, naming conventions, exclusion techniques, the impact of excessive Starters, the design rationale behind separating dependency description from auto‑configuration, conditional property semantics, and the differences between ApplicationContextRunner and @SpringBootTest for testing auto‑configuration.

AI Test Engineering Lesson 0006: From Requirements to Executable Test Documentation

This lesson explains how to design comprehensive test documentation and test cases, covering the eight essential test‑case elements, equivalence partitioning, boundary‑value analysis, scenario testing, decision tables, Gherkin versus traditional test cases, practical examples, templates, AI‑assisted generation, and a QA checklist to help test engineers produce clear, repeatable, and maintainable test artifacts.

How Twilio Segment Replaced Hundreds of Microservices with a Single Monolith

The Twilio Segment team migrated their server‑side event‑forwarding infrastructure from a sprawling microservice architecture to a single monolithic service, detailing the performance bottlenecks, operational overhead, testing challenges, trade‑offs, and productivity gains that drove the decision.

Mastering Python Sequence Functions for API Automation

This article walks through eight essential Python built‑in sequence functions—len, range, enumerate, reversed, sorted, zip, map, and filter—showing concrete API‑automation scenarios, step‑by‑step code examples, and practical tips for handling lists, generating test data, and filtering results efficiently.

Stop Adding Java Patterns to Go: Unpacking spf13’s Idiomatic Go Principles

The article dissects spf13’s go‑skills repository, exposing how Java‑style project layouts, layered packages, heavy frameworks and misuse of generics clash with Go’s philosophy, and presents concrete, Go‑centric guidelines for package organization, interfaces, error handling, concurrency, testing, standard‑library usage, CLI design, and a pre‑code review checklist.

How the Requirement‑Decomposition Skill Eliminates 99% of Missed Test Risks with One‑Click Structured Reports

The Requirement‑Decomposition skill transforms vague PRDs into a 12‑dimension, structured analysis that automatically highlights concurrency, boundary, and permission risks, generates ready‑to‑use test‑case reports, and enforces four safety red‑lines to keep testing effort accurate and reusable.

Guarding Quality Against the “-10x Engineer” Phenomenon

The article explains how AI‑generated code transforms the myth of a 10x engineer into a “‑10x engineer” who appears highly productive yet introduces hidden defects, and outlines concrete safeguards—redefined code reviews, centralized QA/E2E testing, release‑gate mechanisms, tooling, and cultural shifts—to ensure quality and accountability.

How to Write Architecture Docs That Developers Actually Read

The article explains why many architecture documents are ignored, illustrates common pitfalls with a bad example, then provides a concrete good‑document template, discusses ADRs, technical‑solution outlines, risk assessment, testing plans, deployment steps and maintenance tips to help teams produce clear, useful documentation.

Turning Prompt Engineering into Reusable Codex Skills: A Practical Guide

This guide details how to convert repeatable prompt‑engineering knowledge into reusable Codex skills, covering guiding principles, skill structure, workflow design, packaging as plugins, deployment strategies, testing methods, and governance to ensure reliable, secure, and maintainable AI‑driven workflows.

Essential Java Libraries Every Senior Developer Should Know

This article compiles a curated list of 20 widely used Java libraries—covering logging, JSON processing, testing, utilities, HTTP, XML, Excel, bytecode manipulation, connection pooling, messaging, PDF, date‑time, collections, email, HTML parsing, cryptography, embedded databases, JDBC debugging, serialization, and networking—to help developers avoid reinventing the wheel and boost productivity.

Why Smart LLMs Still Struggle to Deploy Agents in Production

Although large language models have become more capable, deploying AI agents in production remains difficult because their probabilistic nature leads to error accumulation, testing challenges, fragile real‑world interactions, and a lack of deterministic controls, requiring strict workflows, schema validation, mock testing, and human oversight.

Simplify Resource Cleanup in JUnit with the New @AutoClose Annotation

The article introduces JUnit's @AutoClose annotation (added in version 5.11), compares the traditional @BeforeEach/@AfterEach cleanup pattern with the annotation's automatic resource closing, and demonstrates its use across file I/O, database connections, HTTP clients, streams, and custom AutoCloseable classes, including warning behavior for null fields.

Why AI Development’s New Bottleneck Is No Longer Coding but Testing Inference and Workflow Orchestration

The article argues that while AI‑driven code generation has eliminated coding speed as a constraint, the real limitation now lies in automating test inference and workflow orchestration, and it outlines two key breakthroughs—embedding testing strategies into AI pipelines and structuring requirements—to unlock true AI‑powered development efficiency.

From Demo to Production: Building a Reliable Agent Development Lifecycle

The article outlines a four‑stage agent development lifecycle—Build, Test, Deploy, Monitor—explaining how early, iterative delivery, systematic testing, controlled deployment, and continuous monitoring transform experimental agents into reliable production systems while addressing governance, cost, and scalability challenges.

Agent‑Driven R&D Efficiency: Exploration and Practice at QECon Shenzhen 2026

At QECon Shenzhen 2026, Xiaohongshu's tech team will present five technical talks that showcase how AI agents are applied to architecture risk analysis, change automation, large‑model load‑testing data construction, end‑to‑end testing, and client‑side performance, illustrating concrete engineering solutions and measurable productivity gains.

Why AI Prompt Tricks Matter Less Than a Structured Java Development Workflow

The article outlines a step‑by‑step AI‑assisted workflow for Java backend developers, emphasizing early requirement translation, using AI to map existing code, breaking implementation into tiny, well‑scoped tasks, generating risk‑focused tests, and performing a reverse review before submitting a PR, all while keeping human verification at each stage.

Advanced Go Techniques: Embracing TDD and the Art of Refactoring

The article walks through a disciplined Go development workflow—red‑green‑refactor—explaining how test‑driven design, table‑driven tests, minimal viable code, and Go‑specific tooling together produce robust, maintainable code while illustrating each step with concrete examples and code snippets.

What the 800‑Page “Software Engineering” Textbook Really Teaches

The article explains that the classic 800‑page software engineering textbook is not a list of methods to memorize but a decision‑making coordinate system that guides readers through process, requirements, architecture, testing, and evolution, helping them understand why and how to apply each practice in real projects.

When the Boss Says “Let AI Do It”, Here’s the 7‑Stage SOP That Proves It’s Not a One‑Liner

The article presents a detailed 7‑stage SOP that transforms a vague “let AI handle it” request into a structured, verifiable development pipeline—covering requirement clarification, impact analysis, design, planning, TDD implementation, systematic debugging, dual‑review, and evidence‑based verification—showing why AI is not a magic wand.

30 Essential Linux Interview Questions Every Tester Should Know

This article compiles 30 practical Linux interview questions covering basic commands, file handling, permissions, disk usage, process management, monitoring tools, networking utilities, log analysis, text processing, and real‑world troubleshooting scenarios, each illustrated with concrete command examples and tester‑focused use cases.

How to Make AI Agents Reliable: Skillify’s 10‑Step Continuous Improvement Process

Agent systems often repeat the same failures, like missing historical calendar data or miscalculating time zones, but Garry Tan’s Skillify framework turns each error into a testable skill with a ten‑step checklist—including contracts, deterministic scripts, unit and integration tests, LLM evals, resolver checks, DRY audits, smoke tests, and knowledge‑base filing—to make agents structurally unable to repeat mistakes.

How to Align Testing Priorities with Business Goals: A 4‑Step Framework

This article presents a practical four‑step method for mapping business objectives to testing priorities, using a risk‑matrix scoring system, dynamic adjustment mechanisms, and role‑specific recommendations to ensure testing effort directly supports revenue, growth, compliance, and user experience goals.

Control Node.js Heap Size with ENV in Kubernetes – New --max-heap-size in 25.9.0

Node.js 25.9.0 adds support for the --max‑heap‑size flag in the NODE_OPTIONS whitelist, allowing containers on Kubernetes to set heap limits via environment variables, reducing OOM kills, while also introducing experimental stream/iter API, test‑module mock changes, new Web Crypto algorithms, and other enhancements.

Building a Production‑Ready Go Function Calling Server: Architecture, Design, and Best Practices

This article explains why Function Calling requires a robust server‑side architecture, walks through a real e‑commerce use case, details the Go‑based protocol, modular design, concurrency handling, security, observability, deployment strategies, testing approaches, and a step‑by‑step roadmap for turning a demo into a production‑grade system.

When AI Writes Code for Everyone: The Real Threat Is Engineering Chaos, Not Job Loss

The article argues that AI‑generated code speeds up output but exposes teams to engineering limits, causing cognitive debt, inconsistent quality, and hidden risks, and offers concrete guidelines for backend teams to harness AI safely while preserving long‑term system reliability.

Measuring SpringBoot Test Coverage with JaCoCo: Configuration and Best Practices

This guide explains how to integrate JaCoCo into SpringBoot projects using Maven or Gradle, generate detailed HTML and XML coverage reports, interpret line, branch, and method metrics, exclude irrelevant code, set coverage thresholds, and address common pitfalls to ensure thorough testing of critical business logic.

10 Proven AI Agent Skills Every Developer Should Use

This article curates ten validated AI Agent Skills—spanning frontend design, caching, full‑stack scaffolding, code review, testing, PR automation, formatting, documentation updates, and skill discovery—providing repository links and installation commands to help developers automate repetitive tasks and boost productivity across the software development lifecycle.

Step‑by‑Step Guide to Building Your First AI Agent from Scratch (Full Code Included)

This comprehensive guide walks you through the fundamentals of AI agents, explains the core agent loop, compares workflow patterns with autonomous agents, and provides a practical five‑step process—including tool design, memory handling, testing, and multi‑agent collaboration—complete with real code examples for Anthropic and OpenAI SDKs.

Mastering Claude Skill Creator 2.0: Build Data‑Driven AI Agent Skills Without Coding

Anthropic’s Skill Creator 2.0 adds true testing, quantifiable scoring, blind A/B comparison, and automatic trigger optimization, letting you iteratively develop, evaluate, and refine Claude skills through a closed‑loop process that requires no code, with multi‑agent parallel execution and version control support.

How to Test Retrieval‑Augmented Generation Systems: Practical Strategies for 2024

This article explains why traditional API, assertion, and UI testing fail for Retrieval‑Augmented Generation (RAG) systems, and presents a four‑step, evidence‑driven testing framework—including golden test sets, dual‑track validation, chaos engineering, and continuous trust dashboards—to ensure factual reliability and operational robustness in real‑world deployments.

How to Quickly Enable Codex in JetBrains IDEs and Boost Development

The article explains how to integrate OpenAI's Codex into JetBrains IDEs, walks through installation, demonstrates project cloning, environment setup, code refactoring, testing, and highlights additional uses such as documentation and front‑end scaffolding, while offering practical tips for effective AI‑assisted development.

Master Python Mocking: From Basics to Advanced Unit Test Techniques

This guide explains why isolation is crucial for Python unit tests, clarifies the difference between mocks and stubs, introduces core unittest.mock objects, provides five practical scenarios with full code, shares advanced tips, warns about common pitfalls, and offers actionable steps to write robust, dependency‑free tests.

Agent Skills Complete Guide: What They Are, Where to Find Them, and How to Build Your Own

This guide explains the SKILL.md open standard, its four core characteristics, directory layout, gating and lifecycle controls, testing with the Evals framework, market adoption stats, and future self‑evolving agent capabilities, providing step‑by‑step instructions for creating, installing, and iterating Skills across multiple AI platforms.

A Practical Guide to Implementing AI Security Testing in Production

With AI now core to production systems, this guide outlines a four‑step, measurable, auditable approach—defining security boundaries, building lightweight test toolchains, creating explainable test cases, and establishing cross‑functional collaboration—backed by real‑world banking and healthcare deployments and concrete metrics.

Practical Testing of AI Agents: From ChatOps Assistants to Autonomous Driving Bots

The article examines the 2024 shift to dynamic AI agents, outlines why traditional testing falls short, and presents three real‑world case studies—ChatOps IT assistant, multi‑agent e‑commerce risk platform, and embodied inspection robot—detailing novel testing frameworks and measurable improvements.

Practical AI Agent Testing: From LLMs to Quality Control Breakthrough

The article recounts a fintech AI advisor project where a four‑layer testing pyramid—intent parsing, planning, tool integration, and end‑to‑end scenarios—was built to overcome the shortcomings of traditional input‑output tests for AI agents, achieving a 76% drop in P0 incidents and a 92.4% task‑completion rate.

Turn LLMs into Reliable Pair Programmers: A Practical AI Coding Workflow for 2026

By 2026, AI coding assistants will shift from toys to production tools, and this guide outlines an engineered workflow—starting with detailed specifications, breaking tasks into small steps, providing rich context, selecting appropriate models, integrating automation and testing, and maintaining human oversight—to treat LLMs as trustworthy pair programmers.

Boost Large Language Model Testing Performance: Essential Strategies for Test Engineers

The article outlines four engineering‑driven approaches—layered test granularity, cache‑driven golden sample pools, lightweight evaluation proxies, and test‑as‑code with resource‑aware scheduling—to dramatically cut LLM testing latency, improve reliability, and lower costs, illustrated with real‑world banking, government, and medical case studies.

5 Common Mistakes in Testing Retrieval‑Augmented Generation (RAG) Systems

Many teams only verify that a RAG system can answer questions, overlooking retrieval validation, knowledge‑update pipelines, prompt‑retrieval coupling, detailed performance metrics, and hidden security/compliance risks, leading to irrelevant results, hallucinations, latency spikes, and regulatory issues.

AI Wave in the Year of the Horse: A New Era for Intelligent Software Engineering

The article analyzes how AI is reshaping every stage of software engineering—from project kickoff and design to coding, testing, operations, and team culture—highlighting both the productivity gains and the emerging risks such as security flaws, technical debt, and the need for critical human judgment.

Tackling IoT Device Integration Testing: Key Challenges and Practical Solutions

The article systematically examines the major hurdles of IoT multi‑device integration testing—such as protocol heterogeneity, network instability, and scenario complexity—and presents a layered testing framework, automation tools, data‑driven techniques, and best‑practice recommendations to help test teams improve efficiency and reliability.

Mastering Redis Cluster: Step‑by‑Step Setup, Testing, and Failover

This guide walks through the limitations of Redis Sentinel, introduces Redis Cluster’s sharding architecture, shows how to configure multiple nodes on a single server, demonstrates cluster creation, key slot calculation, basic CRUD tests, and explains automatic failover behavior when a master node goes down.

Eliminate Flaky Tests with Go’s New testing/nettest In‑Memory Network Stack

The article examines Go's testing challenges with real sockets and net.Pipe, introduces the proposed testing/nettest package that offers a fully in‑memory, buffered, asynchronous network stack with error injection, compares it to existing approaches, discusses its limitations, community reaction, and future integration into the standard library.

Why Should the Service Layer in Java Not Return a Result Object Directly?

The article explains that returning a Result wrapper from the Service layer mixes business logic with presentation concerns, leading to tighter coupling, reduced reusability, cumbersome error handling, harder testing, poorer DDD alignment, limited interface flexibility, and ambiguous transaction boundaries.

How to Build a Low‑Intrusion, AI‑Powered Mock Server for Frontend Development

This article presents a comprehensive mock‑data tool for front‑end/back‑end separation that solves request interception, flexible rule matching, business‑semantic data generation via AI, and team‑wide sharing, detailing its architecture, core implementations, code snippets, usage workflow, and future roadmap.

Up to 500 articles, 100 per page. The archive offers another way to explore older articles.