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.

How Southern Power Grid’s DevOps Platform Achieved National Leading Standards

The article details Southern Power Grid Digital Platform’s DevOps subsystem passing the China Academy of Information and Communications Technology’s DevOps standards assessment, highlighting the role of standardized tools, continuous delivery pipelines, and interview insights on improving software quality and digital transformation.

Evolution of Zhuanzhuan's Test Environments: From Monolithic Setups to Docker‑Based Dynamic and Stable Environments

This article details how Zhuanzhuan’s testing environment progressed from a handful of static machines to a Docker‑driven dynamic‑and‑stable architecture, addressing resource shortages, stability issues, and operational inefficiencies through IP routing, tag routing, and extensive automation, ultimately achieving significant reductions in resource usage, deployment time, and user‑reported problems.

Understanding Hexagonal Architecture: Principles and Implementation Example

The article explains the three core principles of Hexagonal (Ports‑and‑Adapters) Architecture, illustrates how to separate application, domain, and infrastructure code with concrete C# examples, and shows how this separation improves testability, dependency inversion, and modular design.

Using Go's Built‑in Testing Tools: Unit Tests, Benchmarks, Coverage, Fuzzing, and Race Detection

This article introduces Go's native testing ecosystem—including unit testing, benchmark performance measurement, code‑coverage analysis, fuzz testing, and race‑condition detection—through a practical bookkeeping‑app example, demonstrating how each tool can uncover bugs, improve performance, and raise overall code quality.

Microservice Testing Strategy: Pre‑Production and Production Approaches

This article explains how microservice architectures require a comprehensive testing strategy that combines traditional pre‑production tests—unit, integration, component, contract, and end‑to‑end—with production‑focused techniques such as fault injection, canary, blue‑green, and multivariate testing to ensure reliable continuous delivery.

How Clean Code Principles Transform Your Programming Practice

This article reflects on key insights from Robert Martin’s *Clean Code*, covering the distinction between dirty and clean code, the art of naming, effective commenting, function design principles, and the essential role of testing, offering practical examples and personal reflections for writing more readable, maintainable software.

Comprehensive Guide to Backend Development: System Design, Architecture, Networking, Fault Handling, Monitoring, Governance and Deployment

This article provides a thorough overview of backend development, covering system design principles such as high cohesion and low coupling, architectural patterns for high concurrency and availability, network communication techniques, common fault scenarios, monitoring and alerting strategies, service governance practices, and deployment workflows.

Risk Management and Mitigation Strategies for QA in Game Development

This article compiles real-world examples and practical guidance for identifying, assessing, and mitigating risks throughout the game development lifecycle, offering QA teams concrete strategies for risk definition, early estimation, and handling of demand, quality, process, testing, and operational challenges to improve overall risk management.

Testing Challenges and Quality Assurance Improvements for News Recommendation Systems

To cope with the multi‑stage, feature‑rich and rapidly iterated NetEase News recommendation pipeline, the QA team introduced detailed stage logging, controllable recall and user‑profile injection, configurable filters, forced‑push mechanisms, an integrated performance‑testing platform, automated case configuration, centralized requirement tracking, and self‑test tools, dramatically boosting testing quality and efficiency while outlining future automation goals.

Why Avoid Go’s init() Function? Risks, Testing Issues, and Better Alternatives

This article explains why using Go's init() function is discouraged due to readability, testing complications, and error‑handling limitations, and it offers practical alternatives such as direct variable initialization, custom init functions with sync.Once, and controlled error‑aware initialization patterns.

Explore Frontend Trends: Vite, Low‑Code, Functional Programming, JMeter, and Security

This collection highlights essential frontend topics—including Vite's performance debate, low‑code concepts, functional programming fundamentals, JMeter performance testing, strategies for managing module dependencies and theme switching, as well as practical guidance on preventing XSS and CSRF attacks—offering developers a concise roadmap to modern web development.

Comprehensive Guide to Backend Development: System Design, Architecture, Network Communication, Fault Handling, Monitoring, Service Governance and Deployment

This article provides a thorough overview of backend development, covering system development principles, architectural design patterns, network communication techniques, common faults and exceptions, monitoring and alerting strategies, service governance practices, and deployment workflows, all illustrated with clear explanations and practical examples.

Comprehensive Guide to Backend Development: System Design, Architecture, Networking, Fault Handling, Monitoring, and Deployment

This article provides a comprehensive overview of backend development, covering system development principles, architecture design patterns, network communication techniques, fault and exception handling, monitoring and alerting strategies, service governance, testing methodologies, and deployment practices to help developers build robust, scalable, and maintainable services.

Why Feature Environments Fail and How to Build a Reliable One

This article analyzes the difficulties of initializing stable environments, the poor usability and low reliability of feature environments, proposes concrete solutions such as unified test environments, streamlined creation workflows, middleware adjustments, testing and documentation, and shares practical reflections from real deployments.

From Monolith to Microservices: A Practical Evolution Guide

This article walks through the step‑by‑step transformation of a simple online supermarket from a monolithic web app to a fully‑featured microservice architecture, covering common pitfalls, component choices, monitoring, tracing, logging, service discovery, fault‑tolerance, testing, and deployment strategies.

From Monolith to Microservices: A Real‑World Journey and Lessons Learned

This article walks through the evolution of a simple online supermarket from a monolithic website to a fully split microservice architecture, highlighting the challenges encountered—such as code duplication, database bottlenecks, and operational complexity—and presenting practical solutions like service decomposition, monitoring, tracing, gateway control, service discovery, circuit breaking, rate limiting, testing strategies, and the use of service meshes.

Implementing a Simplified Qiankun JavaScript Sandbox: Snapshot, Singular Proxy, and Multiple Proxy Sandboxes

This article walks through building a lightweight Qiankun JS sandbox by first explaining sandbox principles, then creating a snapshot sandbox, a singular proxy sandbox that records changes via ES6 Proxy, and finally a multiple‑proxy sandbox that isolates each micro‑frontend with its own fake window, complete with test cases and setup instructions.

Why Onion Architecture Boosts Maintainability and Testability in Complex Systems

Onion Architecture, a DDD‑aligned design pattern, structures applications into concentric layers centered on the domain model, promoting loose coupling, testability, and technology‑agnostic core logic, while detailing principles, layer responsibilities, testing strategies, microservice applicability, modular packaging, and practical implementation considerations.

How DTDD Transformed API Documentation and Testing at DeWu: A Deep Dive

This article analyzes the challenges of fragmented API documentation workflows at DeWu, introduces the Document‑&‑Test‑Driven Development (DTDD) model, and details the architectural and procedural improvements—including data asset consolidation, multi‑level classification, mock services, and automated testing—that boosted documentation utilization and reduced development friction.

Essential Front-End Architecture, Testing, and UX Resources for 2024

This curated collection introduces key front-end topics—including architecture layering, JavaScript monkey‑patch detection, component sharing via Webpack Module Federation, automated testing basics, Vue 2 this behavior, UX effectiveness measurement, and product versus UX design differences—offering practical insights for modern developers.

Designing Quantifiable Steady‑State Hypotheses to Reduce Chaos Engineering Experiment Costs

The article examines why chaos‑engineering experiments often seem low‑cost‑effective, argues that unclear and unquantified steady‑state hypotheses hinder business value and automation, and proposes concrete, user‑centric, measurable hypotheses and equivalence‑class reasoning to streamline experiments and lower costs.

Design and Optimization of Testing Environment 3.0 at Qunar Travel

This article describes how Qunar Travel has evolved its testing environment governance from a fixed 10‑machine setup to a template‑driven, soft‑routing architecture (Environment 3.0), improving delivery speed, reliability, business connectivity, and reducing operational costs through automated sync, smart recommendations, and continuous business checks.

Best Practices for Designing a Clean and Robust Backend Project

This article shares practical guidelines for new backend projects, covering database design, module organization, scheduled task management, meaningful naming and comments, code robustness, clear error messages, and comprehensive self‑testing to help developers build maintainable and scalable systems.

How to Make Test Task Breakdown and Scheduling More Reasonable

This article explains how to improve overall delivery efficiency by systematically breaking down testing tasks, setting realistic schedules based on clear goals, preparation steps, granular time estimates, dependency considerations, and post‑execution reviews, while emphasizing a target testing effort not exceeding half of development time.

Automated Regression Testing for Xianyu Transaction Chain

The Xianyu transaction chain now employs automated regression testing that records and replays interface traffic, verifies scenarios, and integrates a strong checkpoint in the release pipeline, cutting manual validation from thirty minutes to one minute, enhancing quality assurance, release safety, and paving the way for broader test coverage.

How 58.com Secured Its Business Data with the 金盾 SDK: A Full‑Cycle Testing Blueprint

This article details 58.com’s end‑to‑end approach to securing mobile, H5, and server SDKs—covering security fundamentals, the 5A methodology, the 金盾 architecture, integration steps, data‑flow encryption, comprehensive risk‑based testing, performance evaluation, and release decision making.

Front‑end Performance Optimization: Testing, Analysis, and Sustainable Improvement Loop

The team implements a sustainable “discover‑analyze‑validate” loop that uses a performance blacklist, user‑centric metrics such as interactive time and second‑open rate, automated SDK data collection, and continuous trend monitoring to pinpoint front‑end bottlenecks, apply targeted fixes, and verify measurable load‑time improvements.

Simplify Your Team’s Work: Practical Code Quality Assurance Strategies

This article explains why technical leaders must establish robust code quality assurance mechanisms—covering static analysis, unit testing, code reviews, defect tracking, automation, and release checks—to reduce manual effort, prevent production issues, and ultimately accelerate delivery while fostering developer growth.

Tech Newsletter: Highlights on Bun Runtime, ESM Loader Hooks, Canvas, Proxy/Reflect, Unit Testing, and More

This newsletter curates recent technical insights covering the high‑performance Bun JavaScript runtime, ESM Loader Hooks for module processing without bundlers, deep dives into Canvas and CSS graphics, practical guides on unit testing, serverless deployment, and advanced JavaScript features like Proxy and Reflect, offering developers a comprehensive overview of modern frontend engineering trends.

Building a Quality Assurance System for SDK Development: Methods, Tools, and Practices

This article details the design and implementation of a comprehensive quality assurance system for SDK development, covering background motivations, step‑by‑step methodologies, documentation practices, toolchains, real‑time crash data handling, hardware testing, platform automation, and practical Q&A for startup engineering teams.

Top 11 Must-Read Frontend Development Articles: Debugging, Testing, React, and More

This curated list presents eleven essential frontend development articles covering VS Code debugging, React component library maintenance, web application evolution, monorepo task orchestration, Ant Design table export, testing strategies, low‑code rendering, browser observers, React Server Components, modern ES features, and effective test planning.

Building a Scalable Data Masking and Mock Service for Warehouse Testing

This article explains how to design and implement a data‑masking service that also provides mock data generation for data‑warehouse testing, covering the architecture, pain points, masking principles, workflow, evolution into a warehouse mock service, practical scenarios, and the significant efficiency and cost benefits achieved.

Getting Started with CI/CD for Frontend Projects Using GitHub Actions

This comprehensive guide explains how to set up continuous integration and continuous deployment (CI/CD) for a front‑end Vite‑React‑TypeScript project using GitHub Actions, covering basic concepts, workflow configuration, code linting, testing, release management, deployment to an Nginx server, status badges, email notifications, rollback mechanisms, and end‑to‑end testing.

Spring Boot Best Practices: A Comprehensive Guide for Backend Development

Since 2016, the author shares a collection of Spring Boot best practices—including using custom BOMs, leveraging auto‑configuration and starters, employing Spring Initializr, structuring code, designing services, managing databases, handling concurrency, externalizing configuration, global exception handling, logging, and thorough testing—to help developers build robust, maintainable microservices.

Spring Boot Best Practices: A Comprehensive Guide for Modern Java Backend Development

This article presents a detailed collection of Spring Boot best practices—from custom BOM dependency management and automatic configuration to project initialization, code structure, logging, testing, and configuration externalization—providing actionable guidance for building robust, maintainable micro‑services in Java.

Mooncake Data Mocking Platform – Design, Implementation, and Promotion

Mooncake is a unified data‑mocking platform that lets developers quickly generate and switch multi‑scenario mock data via a Chrome proxy plugin, online configuration service, and capture panel, supporting various client environments, and has been promoted internally through demos, documentation, and feedback loops, now serving hundreds of users and thousands of mock scenes.

Issue 4: Technical Articles on Full‑Chain Stress Testing, Distributed Web UI Automation, WWDC22 Sessions, Efficient Automated Testing, and AutoDiff Traffic Replay

This issue curates five technical articles covering Gaode's full‑chain stress testing platform, a distributed web UI automation system, a comprehensive WWDC22 session review, ShouQianBa's efficient automated testing practices, and Autohome's AutoDiff traffic replay for integrated testing.

Understanding Java Annotations: Concepts, Built‑in Annotations, Custom Annotations, and a Simple Test Framework

This article explains the purpose and syntax of Java annotations, describes built‑in annotations such as @Override, @Deprecated and @SuppressWarnings, shows how to create and use custom annotations with meta‑annotations, and demonstrates a lightweight testing framework that records annotation‑driven test failures.

Introduction to Common Battle Formulas and Testing Approaches in Game Development

This article introduces typical subtraction, multiplication, and division damage formulas, explains their design principles, demonstrates practical examples from games such as Arknights and Dota 2, and outlines testing methods, effective metrics, and additional concepts like stacking, round‑table theory, and second‑roll analysis for balanced combat systems.

How a Unified Precision Testing Platform Boosted Coverage and Efficiency Across Multiple Business Units

After a year of cross‑BU experimentation, the Tianji precision testing platform was built to centralize coverage data, automate incremental analysis, and provide actionable insights, resulting in higher test coverage, faster release gating, and measurable productivity gains for both developers and QA teams.

Ten Essential Characteristics of Good Code and How to Achieve Them

The article outlines ten key traits of high‑quality code—robustness, efficiency, maintainability, brevity, testability, reusability, portability, observability, operational readiness, and scalability—explains why many engineers overlook these standards, provides examples of bad code, and emphasizes the importance of thorough requirement analysis, design, testing, and documentation throughout the software development lifecycle.

Comprehensive Guide to the React Ecosystem: Tools, Libraries, and Best Practices

This article provides an extensive overview of the modern React ecosystem, covering project setup options, state management, routing, styling, component libraries, animation, data fetching, testing, type checking, internationalization, and many other tools and best‑practice recommendations for frontend developers.

How to Ensure Concurrency Quality with Distributed Locks in E‑Commerce Systems

This article explains why concurrency issues like overselling occur in e‑commerce, introduces distributed lock concepts and mainstream implementations (MySQL, Redis, Zookeeper/etcd), and provides a three‑stage quality‑assurance framework with code‑review checklists, testing methods, and data‑reconciliation techniques.

Spring Boot Best Practices: 16 Essential Guidelines for Building Robust Microservices

This article presents sixteen practical Spring Boot best‑practice recommendations—ranging from custom BOM management and automatic configuration to project structure, logging, testing, and externalized configuration—to help developers build clean, maintainable, and production‑ready Java microservices.

Second Session: Articles on Spock Testing Framework, Automation Challenges, Backend CI/CD, AI‑Driven UI Testing, and HarmonyOS App Automation

This collection presents five technical articles covering the Spock unit‑testing framework, reasons why automation testing struggles, backend automated testing with continuous deployment, AI‑based UI defect detection, and practical automation of HarmonyOS applications, offering valuable insights for developers and testers.

Five Practical Go Tips: Ballast Optimization, Benchmark & pprof, Testing Stubs, OOM Caused by Locks, and Memory Synchronization in Concurrency

This guide presents five practical Go techniques—using a large ballast slice to control GC timing, leveraging benchmark and pprof for performance profiling, applying the monkey library for test stubbing, avoiding unreleased locks that cause OOM, and employing proper synchronization primitives to prevent stale memory reads.

What Makes Code Truly Good? 10 Essential Characteristics Every Engineer Should Master

This article outlines ten key attributes of high‑quality code—robustness, efficiency, simplicity, brevity, testability, reusability, portability, observability, operational readiness, and scalability—while contrasting them with common bad‑code patterns and explaining how solid requirement analysis, system design, testing, and continuous iteration produce truly good software.

Scaling Productivity on Microservices at Lyft – Development and Testing Environment History

This article chronicles Lyft's evolution from a PHP monolith to a Python and Go microservice architecture, detailing the development and testing environments—including Devbox, Onebox, integration testing, pre‑release staging, and the migration to Kubernetes—while highlighting the scalability and productivity challenges faced as the service count grew to hundreds.

Shift-Left Testing and Continuous Automation Practices in International E-commerce

DeWu’s international e‑commerce team adopts shift‑left, business‑driven testing and a Java‑SpringBoot‑JUnit5 automation framework with continuous coverage analysis, moving tests earlier in the lifecycle to deliver rapid feedback, cut manual effort, and ensure high‑quality, efficient releases aligned with business value.

Understanding Mobile Advertising SDKs and Their Testing Strategies

The article explains what a mobile advertising SDK is, outlines its core components such as documentation, interfaces, logs, and samples, and details comprehensive testing approaches—including functional, compatibility, network, security, stability, and performance tests—organized in layered strategies from demo to code-level automation.

What Makes Code Truly Good? 10 Essential Traits Every Engineer Should Master

The article outlines ten key characteristics of high‑quality code—robustness, efficiency, simplicity, brevity, testability, reusability, portability, observability, operability, and scalability—while contrasting them with common bad‑code examples and emphasizing the importance of thorough analysis, design, testing, and continuous improvement throughout the software development lifecycle.

Understanding QA: Roles and Practices in Game Development (Part 1)

This article introduces the concept of QA in game development, explains its responsibilities from delivery testing to test delivery, highlights the importance of early requirement analysis, test case design, cost estimation, and collaboration with planners, and reflects on the value and confidence QA brings to the production pipeline.

DeWu Tech Salon – Quality Assurance Sessions Summary

The DeWu Tech Salon, co‑hosted by DeWu App Quality Platform and TesterHome, brought senior engineers from Alibaba Cloud, ByteDance, Lagou and DeWu together to share practical QA insights on end‑side monitoring, traffic replay, full‑link stress testing, and industry‑scale chaos engineering, while announcing a PPT collection, a testing‑expert recruitment drive, and a preview of the next wireless‑technology salon.

Ensuring Quality and Stability in Electron Desktop Apps: Yuque’s Practical Insights

This talk shares Yuque’s experience building an Electron‑based desktop product, covering why Electron was chosen, the app’s architecture, and engineering practices—including unit testing, integration‑test coverage, package and data security, update strategies, and full‑link logging—to improve code quality and runtime stability.

Essential Modern Python Features: Type Hints, Virtual Environments, New Syntax, and Testing

This article outlines four key areas for modern Python development—type hinting, virtual environment and package management tools, recent syntax enhancements like pattern matching and the walrus operator, and testing frameworks—providing practical guidance for writing robust, up‑to‑date Python code.

How to Write Clean Code: Naming, Comments, Functions, and Testing Best Practices

This article explores the core principles of clean code—including effective naming, purposeful comments, single‑responsibility functions, proper abstraction levels, and essential testing practices—illustrated with concrete code examples and actionable guidelines for writing more readable, maintainable software.

Master Modern Python: Type Hints, Virtual Envs, New Syntax & Testing

This article outlines four essential modern Python concepts—type hinting, virtual environment and package management tools, recent syntax enhancements such as pattern matching and the walrus operator, and advanced testing frameworks—providing developers with the knowledge needed to write clean, efficient code in 2022 and beyond.

Feature Toggles: Story, Types, Management, and Implementation Techniques

This article explains feature toggles (feature flags), illustrating their use through a game‑engine story, categorizing toggle types, describing management and configuration strategies, presenting implementation patterns to decouple decision logic, and offering testing and operational best practices for reliable continuous delivery.

Implementing Pagination, Filters, and Error Handling in a Go Clean Architecture with Ent and gqlgen (Part 3)

This tutorial walks through adding pagination and flexible where‑filters to the User List interface, configuring gqlgen extensions, handling GraphQL errors, wrapping mutations in transactions, and building unit, integration, and end‑to‑end tests for a Go clean‑architecture project using Ent and gqlgen.

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